Interface TeamSource

All Known Implementing Classes:
AbstractExecutorTeamSource, AbstractTeamSource, BackPressureTeamSource, ExecutorCachedTeamSource, ExecutorFixedTeamSource, LeaderFollowerTeamSource, MockTeamSource, OnePersonTeamSource, PassiveTeamSource, StepTeam, ThreadLocalAwareTeamSource, WorkerPerJobTeamSource

public interface TeamSource
Source to obtain Team instances.
Author:
Daniel Sagenschneider
  • Method Details

    • 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 Exception
      Creates the Team.
      Parameters:
      context - TeamSourceContext.
      Returns:
      Team.
      Throws:
      Exception - If fails to configure the TeamSource.