Class ResourceSelectionContext<R>

java.lang.Object
com.netflix.genie.web.selectors.ResourceSelectionContext<R>
Type Parameters:
R - The type of resource this context is meant to help select
Direct Known Subclasses:
AgentLauncherSelectionContext, ClusterSelectionContext, CommandSelectionContext

public abstract class ResourceSelectionContext<R> extends Object
Context object for encapsulating state into the selectors.
Since:
4.0.0
  • Constructor Details

    • ResourceSelectionContext

      public ResourceSelectionContext()
  • Method Details

    • getResources

      public abstract Set<R> getResources()
      Return the Set of distinct resources that a selector is meant to chose from.
      Returns:
      The resources