Interface TeamSource
-
- All Known Implementing Classes:
AbstractExecutorTeamSource
,AbstractTeamSource
,BackPressureTeamSource
,ExecutorCachedTeamSource
,ExecutorFixedTeamSource
,LeaderFollowerTeamSource
,MockTeamSource
,OnePersonTeamSource
,PassiveTeamSource
,StepTeam
,ThreadLocalAwareTeamSource
,WorkerPerJobTeamSource
public interface TeamSource
Source to obtainTeam
instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Team
createTeam(TeamSourceContext context)
Creates theTeam
.TeamSourceSpecification
getSpecification()
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
.
-
-