|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cuny.brooklyn.swc2.Unit
edu.cuny.brooklyn.swc2.WorkUnit
pingpong.PingPongWorkUnit
public class PingPongWorkUnit
Field Summary | |
---|---|
int |
RetFillerSize
Indicates the filler-size in bytes that should returned with the {link PingPongResultUnit}. |
byte[] |
SpaceFiller
An array used as a filler, in order to increase the size of this object. |
long |
WorkerDelay
Indicates how long {link PingPongWorker} should wait before completing the job. |
Fields inherited from class edu.cuny.brooklyn.swc2.WorkUnit |
---|
TaskName, WorkerClassName |
Fields inherited from class edu.cuny.brooklyn.swc2.Unit |
---|
PassID, TaskID, WorkUnitID |
Constructor Summary | |
---|---|
PingPongWorkUnit(int size,
int ret_size,
long delay)
|
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 |
---|
public int RetFillerSize
PingPongResultUnit.SpaceFiller
public long WorkerDelay
PingPongWorker.run()
public byte[] SpaceFiller
Constructor Detail |
---|
public PingPongWorkUnit(int size, int ret_size, long delay)
size
- the filler size of this work unitret_size
- the filler size of the corresponding result unitdelay
- the delay before a corresponding result unit is generated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |