public interface AutoCreatedQueueManagementPolicy
| Modifier and Type | Method and Description |
|---|---|
void |
commitQueueManagementChanges(List<QueueManagementChange> queueManagementChanges)
Commit/Update state for the specified queue management changes.
|
List<QueueManagementChange> |
computeQueueManagementChanges()
Compute/Adjust child queue capacities
for auto created leaf queues
This computes queue entitlements but does not update LeafQueueState or
queue capacities.
|
AutoCreatedLeafQueueConfig |
getInitialLeafQueueConfiguration(AbstractAutoCreatedLeafQueue leafQueue)
Get initial template for the specified leaf queue
|
void |
init(CapacitySchedulerContext schedulerContext,
ParentQueue parentQueue)
Initialize policy
|
void |
reinitialize(CapacitySchedulerContext schedulerContext,
ParentQueue parentQueue)
Reinitialize policy state ( if required )
|
void init(CapacitySchedulerContext schedulerContext, ParentQueue parentQueue) throws IOException
schedulerContext - Capacity Scheduler contextIOExceptionvoid reinitialize(CapacitySchedulerContext schedulerContext, ParentQueue parentQueue) throws IOException
schedulerContext - Capacity Scheduler contextIOExceptionAutoCreatedLeafQueueConfig getInitialLeafQueueConfiguration(AbstractAutoCreatedLeafQueue leafQueue) throws SchedulerDynamicEditException
leafQueue - the leaf queueSchedulerDynamicEditExceptionList<QueueManagementChange> computeQueueManagementChanges() throws SchedulerDynamicEditException
SchedulerDynamicEditExceptionvoid commitQueueManagementChanges(List<QueueManagementChange> queueManagementChanges) throws SchedulerDynamicEditException
SchedulerDynamicEditExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.