Interface TeamSource
- All Known Implementing Classes:
AbstractExecutorTeamSource,AbstractTeamSource,BackPressureTeamSource,ExecutorCachedTeamSource,ExecutorFixedTeamSource,LeaderFollowerTeamSource,MockTeamSource,OnePersonTeamSource,PassiveTeamSource,StepTeam,ThreadLocalAwareTeamSource,WorkerPerJobTeamSource
public interface TeamSource
Source to obtain
Team instances.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptioncreateTeam(TeamSourceContext context) Creates theTeam.Obtains the specification for this.
-
Method Details
-
getSpecification
TeamSourceSpecification getSpecification()Obtains the specification for this.
This will be called before any other methods, therefore this method must be able to return the specification immediately after a default constructor instantiation.
- Returns:
- Specification of this.
-
createTeam
Creates theTeam.- Parameters:
context-TeamSourceContext.- Returns:
Team.- Throws:
Exception- If fails to configure theTeamSource.
-