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 SchedulingEditPolicy
public void prepareForAutoDeletion()
public void editSchedule()
SchedulingEditPolicy
editSchedule
in interface SchedulingEditPolicy
public void triggerAutoDeletionForExpiredQueues()
public long getMonitoringInterval()
getMonitoringInterval
in interface SchedulingEditPolicy
public String getPolicyName()
getPolicyName
in interface SchedulingEditPolicy
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.