public class AutoCreatedQueueDeletionPolicy extends Object implements SchedulingEditPolicy
| Constructor and Description |
|---|
AutoCreatedQueueDeletionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
editSchedule()
This method is invoked at regular intervals.
|
Set<String> |
getMarkedForDeletion() |
long |
getMonitoringInterval() |
String |
getPolicyName() |
Set<String> |
getSentForDeletion() |
void |
init(org.apache.hadoop.conf.Configuration config,
RMContext context,
ResourceScheduler sched) |
void |
prepareForAutoDeletion() |
void |
triggerAutoDeletionForExpiredQueues() |
public void init(org.apache.hadoop.conf.Configuration config,
RMContext context,
ResourceScheduler sched)
init in interface SchedulingEditPolicypublic void prepareForAutoDeletion()
public void editSchedule()
SchedulingEditPolicyeditSchedule in interface SchedulingEditPolicypublic void triggerAutoDeletionForExpiredQueues()
public long getMonitoringInterval()
getMonitoringInterval in interface SchedulingEditPolicypublic String getPolicyName()
getPolicyName in interface SchedulingEditPolicyCopyright © 2008–2024 Apache Software Foundation. All rights reserved.