Package net.officefloor.frame.api.team
Interface Team
- All Known Subinterfaces:
ThreadLocalAwareTeam
- All Known Implementing Classes:
AbstractExecutorTeamSource.ExecutorTeam,BackPressureTeamSource,LeaderFollowerTeam,OnePersonTeam,StepTeam
public interface Team
Team of workers to execute the assigned
Job instances.- Author:
- Daniel Sagenschneider
-
Method Details
-
startWorking
void startWorking()Indicates for theTeamto start working. -
assignJob
- Parameters:
job-Job.- Throws:
TeamOverloadException- Indicating theTeamis overloaded and that back pressure should be applied to gracefully handle overload.Exception- For otherExceptioninstances to again indicate back pressure.
-
stopWorking
void stopWorking()
-