@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 aAgentLauncherfrom a set of available candidates.ClusterSelector Interface for any classes which provide a way to select aClusterfrom a set of clusters which matched criterion provided by a user in aJobRequestand combined with the criteria for the command selected for a given job.CommandSelector Interface for any classes which provide a way to select aCommandfrom 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 ofResourceSelectionContextto include specific data useful in AgentLauncher selection.ClusterSelectionContext Extension ofResourceSelectionContextto include specific data useful in cluster selection.CommandSelectionContext Extension ofResourceSelectionContextto include specific data useful in command selection.ResourceSelectionContext<R> Context object for encapsulating state into the selectors.