Class AbstractQueueSelectionPolicy
java.lang.Object
org.apache.drill.exec.resourcemgr.config.selectionpolicy.AbstractQueueSelectionPolicy
- All Implemented Interfaces:
QueueSelectionPolicy
- Direct Known Subclasses:
BestFitQueueSelection
,DefaultQueueSelection
,RandomQueueSelection
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.resourcemgr.config.selectionpolicy.QueueSelectionPolicy
QueueSelectionPolicy.SelectionPolicy
-
Constructor Summary
ConstructorDescriptionAbstractQueueSelectionPolicy
(QueueSelectionPolicy.SelectionPolicy selectionPolicy) -
Method Summary
Modifier and TypeMethodDescriptionabstract ResourcePool
selectQueue
(List<ResourcePool> allPools, QueryContext queryContext, NodeResources maxResourcePerNode)
-
Constructor Details
-
AbstractQueueSelectionPolicy
-
-
Method Details
-
getSelectionPolicy
- Specified by:
getSelectionPolicy
in interfaceQueueSelectionPolicy
-
selectQueue
public abstract ResourcePool selectQueue(List<ResourcePool> allPools, QueryContext queryContext, NodeResources maxResourcePerNode) throws QueueSelectionException - Specified by:
selectQueue
in interfaceQueueSelectionPolicy
- Throws:
QueueSelectionException
-