All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javaNOW.JavaNOWApplication

java.lang.Object
   |
   +----javaNOW.JavaNOWApplication

public abstract class JavaNOWApplication
extends Object
implements JavaNOWWork, Serializable
JavaNOWApplication: Abstract Application Class used by User Needs to implement java.io.Serializable because it is passed to JavaNOWDaemon using addApplication method.

See Also:
class, method

Variable Index

 o api
 o javaNOWSpawn
 o propertyTable
Data Even though this class will be passed to JavaNOWDaemon over network but we don't have to copy data.
 o TS_WORKER_DONE
 o workerThreadTable

Constructor Index

 o JavaNOWApplication(int, String)

Method Index

 o applicationIsReady()
 o cleanUp()
 o finalize()
 o getJavaNOWAPI()
 o getProperty(String)
 o getPropertyBlocking(String)
 o getWorkerId()
 o master()
 o setProperty(String, Object)
 o slave(int)
 o worker(Object)

Variables

 o TS_WORKER_DONE
 public static final int TS_WORKER_DONE
 o propertyTable
 protected Hashtable propertyTable
Data Even though this class will be passed to JavaNOWDaemon over network but we don't have to copy data. addApplication method is only interested in the method master and slave.

 o javaNOWSpawn
 protected transient JavaNOWSpawn javaNOWSpawn
 o api
 protected transient JavaNOWAPI api
 o workerThreadTable
 protected static transient Hashtable workerThreadTable

Constructors

 o JavaNOWApplication
 public JavaNOWApplication(int numProcs,
                           String hostFileName)

Methods

 o finalize
 public void finalize()
Overrides:
finalize in class Object
 o setProperty
 public void setProperty(String name,
                         Object value)
 o getProperty
 public Object getProperty(String name)
 o getPropertyBlocking
 public Object getPropertyBlocking(String name)
 o getJavaNOWAPI
 public JavaNOWAPI getJavaNOWAPI()
 o worker
 public void worker(Object o)
 o cleanUp
 public void cleanUp()
 o getWorkerId
 public int getWorkerId()
 o applicationIsReady
 public void applicationIsReady()
 o master
 public abstract void master()
 o slave
 public abstract void slave(int myid)

All Packages  Class Hierarchy  This Package  Previous  Next  Index