Interface TeamOversight
-
- All Known Implementing Classes:
WebThreadAffinityExecutive
public interface TeamOversight
Oversight for aTeam
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Team
createTeam(ExecutiveContext context)
Creates theTeam
.java.lang.String
getTeamOversightName()
Obtains the name of theTeamOversight
.
-
-
-
Method Detail
-
getTeamOversightName
java.lang.String getTeamOversightName()
Obtains the name of theTeamOversight
.- Returns:
- Name of the
TeamOversight
.
-
createTeam
default 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
.
-
-