Interface ResourceSelector<R,C extends ResourceSelectionContext<R>>

Type Parameters:
R - The type of resource this selector is selecting
C - The type of context which this selector will accept. Must extend ResourceSelectionContext
All Known Subinterfaces:
AgentLauncherSelector, ClusterSelector, CommandSelector
All Known Implementing Classes:
RandomAgentLauncherSelectorImpl, RandomClusterSelectorImpl, RandomCommandSelectorImpl, ScriptAgentLauncherSelectorImpl, ScriptClusterSelectorImpl, ScriptCommandSelectorImpl

@Validated public interface 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.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    select(C context)
    Select a resource from the given set of resources if possible.