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
-
api
-
-
javaNOWSpawn
-
-
propertyTable
- Data
Even though this class will be passed to JavaNOWDaemon
over network but we don't have to copy data.
-
TS_WORKER_DONE
-
-
workerThreadTable
-
-
JavaNOWApplication(int, String)
-
-
applicationIsReady()
-
-
cleanUp()
-
-
finalize()
-
-
getJavaNOWAPI()
-
-
getProperty(String)
-
-
getPropertyBlocking(String)
-
-
getWorkerId()
-
-
master()
-
-
setProperty(String, Object)
-
-
slave(int)
-
-
worker(Object)
-
TS_WORKER_DONE
public static final int TS_WORKER_DONE
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.
javaNOWSpawn
protected transient JavaNOWSpawn javaNOWSpawn
api
protected transient JavaNOWAPI api
workerThreadTable
protected static transient Hashtable workerThreadTable
JavaNOWApplication
public JavaNOWApplication(int numProcs,
String hostFileName)
finalize
public void finalize()
- Overrides:
- finalize in class Object
setProperty
public void setProperty(String name,
Object value)
getProperty
public Object getProperty(String name)
getPropertyBlocking
public Object getPropertyBlocking(String name)
getJavaNOWAPI
public JavaNOWAPI getJavaNOWAPI()
worker
public void worker(Object o)
cleanUp
public void cleanUp()
getWorkerId
public int getWorkerId()
applicationIsReady
public void applicationIsReady()
master
public abstract void master()
slave
public abstract void slave(int myid)
All Packages Class Hierarchy This Package Previous Next Index