Interface TeamOversight
-
- All Known Implementing Classes:
GoogleAppEngineExecutive
,WebThreadAffinityExecutive
public interface TeamOversight
Oversight for aTeam
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Team
createTeam(ExecutiveContext context)
Creates theTeam
.
-
-
-
Method Detail
-
createTeam
Team createTeam(ExecutiveContext context) throws java.lang.Exception
Creates the
Team
.This is expected to delegate to the
TeamSource
to create theTeam
. However, theExecutive
may decide to wrap theTeam
or provide multipleTeam
instances with assigning algorithm (such as taking advantage ofThread
affinity). The choice is, however, ultimately left to theExecutive
to manage theTeam
instances.- Parameters:
context
-ExecutiveContext
.- Returns:
Team
.- Throws:
java.lang.Exception
- If fails to configure theTeamSource
.
-
-