public abstract class InvariantsChecker extends Object implements SchedulingEditPolicy
| Modifier and Type | Field and Description |
|---|---|
static String |
INVARIANT_MONITOR_INTERVAL |
static String |
THROW_ON_VIOLATION |
| Constructor and Description |
|---|
InvariantsChecker() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
RMContext |
getContext() |
long |
getMonitoringInterval() |
String |
getPolicyName() |
ResourceScheduler |
getScheduler() |
boolean |
getThrowOnInvariantViolation() |
void |
init(org.apache.hadoop.conf.Configuration config,
RMContext rmContext,
ResourceScheduler scheduler) |
void |
logOrThrow(String message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteditSchedulepublic static final String THROW_ON_VIOLATION
public static final String INVARIANT_MONITOR_INTERVAL
public void init(org.apache.hadoop.conf.Configuration config,
RMContext rmContext,
ResourceScheduler scheduler)
init in interface SchedulingEditPolicypublic long getMonitoringInterval()
getMonitoringInterval in interface SchedulingEditPolicypublic String getPolicyName()
getPolicyName in interface SchedulingEditPolicypublic void logOrThrow(String message) throws InvariantViolationException
InvariantViolationExceptionpublic boolean getThrowOnInvariantViolation()
public org.apache.hadoop.conf.Configuration getConf()
public RMContext getContext()
public ResourceScheduler getScheduler()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.