Interface TeamSource
-
- All Known Implementing Classes:
AbstractExecutorTeamSource,AbstractTeamSource,BackPressureTeamSource,ExecutorCachedTeamSource,ExecutorFixedTeamSource,LeaderFollowerTeamSource,MockTeamSource,OnePersonTeamSource,PassiveTeamSource,StepTeam,ThreadLocalAwareTeamSource,WorkerPerJobTeamSource
public interface TeamSourceSource to obtainTeaminstances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TeamcreateTeam(TeamSourceContext context)Creates theTeam.TeamSourceSpecificationgetSpecification()Obtains the specification for this.
-
-
-
Method Detail
-
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
Team createTeam(TeamSourceContext context) throws java.lang.Exception
Creates theTeam.- Parameters:
context-TeamSourceContext.- Returns:
Team.- Throws:
java.lang.Exception- If fails to configure theTeamSource.
-
-