@ParametersAreNonnullByDefault
Package com.netflix.genie.web.selectors
Package to contain interfaces and classes which provide plugin functionality for selecting resources at runtime
for jobs.
- Since:
- 4.0.0
-
Interface Summary Interface Description AgentLauncherSelector Interface for any classes which provide a way to select aAgentLauncher
from a set of available candidates.ClusterSelector Interface for any classes which provide a way to select aCluster
from a set of clusters which matched criterion provided by a user in aJobRequest
and combined with the criteria for the command selected for a given job.CommandSelector Interface for any classes which provide a way to select aCommand
from a set of commands which matched criterion provided by a user in aJobRequest
.ResourceSelector<R,C extends ResourceSelectionContext<R>> Generic interface for a selector which selects a resource from a set of resources for a given job request. -
Class Summary Class Description AgentLauncherSelectionContext Extension ofResourceSelectionContext
to include specific data useful in AgentLauncher selection.ClusterSelectionContext Extension ofResourceSelectionContext
to include specific data useful in cluster selection.CommandSelectionContext Extension ofResourceSelectionContext
to include specific data useful in command selection.ResourceSelectionContext<R> Context object for encapsulating state into the selectors.