Interface TeamOversight
-
- All Known Implementing Classes:
WebThreadAffinityExecutive
public interface TeamOversightOversight for aTeam.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TeamcreateTeam(ExecutiveContext context)Creates theTeam.java.lang.StringgetTeamOversightName()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
TeamSourceto create theTeam. However, theExecutivemay decide to wrap theTeamor provide multipleTeaminstances with assigning algorithm (such as taking advantage ofThreadaffinity). The choice is, however, ultimately left to theExecutiveto manage theTeaminstances.- Parameters:
context-ExecutiveContext.- Returns:
Team.- Throws:
java.lang.Exception- If fails to configure theTeamSource.
-
-