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