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 contextIOException
void reinitialize(CapacitySchedulerContext schedulerContext, ParentQueue parentQueue) throws IOException
schedulerContext
- Capacity Scheduler contextIOException
AutoCreatedLeafQueueConfig getInitialLeafQueueConfiguration(AbstractAutoCreatedLeafQueue leafQueue) throws SchedulerDynamicEditException
leafQueue
- the leaf queueSchedulerDynamicEditException
List<QueueManagementChange> computeQueueManagementChanges() throws SchedulerDynamicEditException
SchedulerDynamicEditException
void commitQueueManagementChanges(List<QueueManagementChange> queueManagementChanges) throws SchedulerDynamicEditException
SchedulerDynamicEditException
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.