|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.frame.impl.spi.team.PassiveTeam
public class PassiveTeam
Passive Team which uses the invoking Thread to execute the
Job.
Note that using this team will block the invoking Thread until the
Job is complete.
| Nested Class Summary | |
|---|---|
protected class |
PassiveTeam.PassiveJobContext
Passive JobContext. |
| Constructor Summary | |
|---|---|
PassiveTeam()
|
|
| Method Summary | |
|---|---|
void |
assignJob(Job task,
TeamIdentifier assignerTeam)
Assigns a Job to be executed by this Team. |
void |
startWorking()
Indicates for the Team to start working. |
void |
stopWorking()
Indicates for the Team to stop working. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PassiveTeam()
| Method Detail |
|---|
public void startWorking()
TeamTeam to start working.
startWorking in interface Team
public void assignJob(Job task,
TeamIdentifier assignerTeam)
TeamJob to be executed by this Team.
assignJob in interface Teamtask - Job.assignerTeam - TeamIdentifier of the Team assigning the
Job to this Team.public void stopWorking()
Team
Indicates for the Team to stop working.
This method should block and only return control when the Team
has stopped working and is no longer assigned Job instances to
complete.
stopWorking in interface Team
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||