Class OnePersonTeam
java.lang.Object
net.officefloor.frame.impl.spi.team.OnePersonTeam
- All Implemented Interfaces:
Team
- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OnePersonTeam
Initiate.- Parameters:
threadFactory-ThreadFactory.waitTime- Time to wait in milliseconds for aJob.
-
-
Method Details
-
getThreadName
Obtains the name of the singleThread. -
startWorking
public void startWorking()Description copied from interface:TeamIndicates for theTeamto start working.- Specified by:
startWorkingin interfaceTeam
-
assignJob
Description copied from interface:Team -
stopWorking
public void stopWorking()Description copied from interface:TeamIndicates for the
Teamto stop working.This method should block and only return control when the
Teamhas stopped working and is no longer assignedJobinstances to complete.- Specified by:
stopWorkingin interfaceTeam
-