edu.cuny.brooklyn.swc2
Class WorkUnit

java.lang.Object
  extended by edu.cuny.brooklyn.swc2.Unit
      extended by edu.cuny.brooklyn.swc2.WorkUnit
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FactorialWorkUnit, FactorialWorkUnit2, PingPongWorkUnit

public abstract class WorkUnit
extends Unit

WorkUnit is the abstract base class that must be extended by any computation which ought to operate in the SWC2 system. The class should be extended with computation-specific fields.

Author:
Dino Klein
See Also:
Serialized Form

Field Summary
 java.lang.String TaskName
          Descriptive information regarding the task; this is automatically assigned by the SWC2 system.
 java.lang.String WorkerClassName
          The name of the class which implements the Worker interface, and handles the derived work units.
 
Fields inherited from class edu.cuny.brooklyn.swc2.Unit
PassID, TaskID, WorkUnitID
 
Constructor Summary
WorkUnit()
           
 
Method Summary
 
Methods inherited from class edu.cuny.brooklyn.swc2.Unit
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WorkerClassName

public java.lang.String WorkerClassName
The name of the class which implements the Worker interface, and handles the derived work units.


TaskName

public java.lang.String TaskName
Descriptive information regarding the task; this is automatically assigned by the SWC2 system.

Constructor Detail

WorkUnit

public WorkUnit()