@InterfaceAudience.Private public final class JmxCacheBuster extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
JmxCacheBuster.JmxCacheBusterRunnable |
Modifier and Type | Field and Description |
---|---|
private static MetricsExecutor |
executor |
private static AtomicReference<ScheduledFuture> |
fut |
private static org.slf4j.Logger |
LOG |
private static AtomicBoolean |
stopped |
Modifier | Constructor and Description |
---|---|
private |
JmxCacheBuster() |
Modifier and Type | Method and Description |
---|---|
static void |
clearJmxCache()
For JMX to forget about all previously exported metrics.
|
static void |
restart()
Restarts the stopped service.
|
static void |
stop()
Stops the clearing of JMX metrics and restarting the Hadoop metrics system.
|
private static final org.slf4j.Logger LOG
private static AtomicReference<ScheduledFuture> fut
private static MetricsExecutor executor
private static AtomicBoolean stopped
private JmxCacheBuster()
public static void clearJmxCache()
public static void stop()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.