Package com.netflix.genie.web.selectors
@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
-
ClassDescriptionExtension of
ResourceSelectionContextto include specific data useful in AgentLauncher selection.Interface for any classes which provide a way to select aAgentLauncherfrom a set of available candidates.Extension ofResourceSelectionContextto include specific data useful in cluster selection.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.Extension ofResourceSelectionContextto include specific data useful in command selection.Interface for any classes which provide a way to select aCommandfrom a set of commands which matched criterion provided by a user in aJobRequest.Context object for encapsulating state into the selectors.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.