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(AbstractParentQueue parentQueue)
Initialize policy.
|
void |
reinitialize(AbstractParentQueue parentQueue)
Reinitialize policy state ( if required ).
|
void init(AbstractParentQueue parentQueue) throws IOException
parentQueue - parent queueIOException - an I/O exception has occurred.void reinitialize(AbstractParentQueue parentQueue) throws IOException
parentQueue - parent queueIOException - an I/O exception has occurred.AutoCreatedLeafQueueConfig getInitialLeafQueueConfiguration(AbstractAutoCreatedLeafQueue leafQueue) throws SchedulerDynamicEditException
leafQueue - the leaf queueSchedulerDynamicEditException - when get initialLeafQueue Configuration fails.List<QueueManagementChange> computeQueueManagementChanges() throws SchedulerDynamicEditException
SchedulerDynamicEditException - when compute QueueManagementChanges fails.void commitQueueManagementChanges(List<QueueManagementChange> queueManagementChanges) throws SchedulerDynamicEditException
queueManagementChanges - QueueManagementChange List.SchedulerDynamicEditException - when commit QueueManagementChanges fails.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.