public class GCInspector extends java.lang.Object implements javax.management.NotificationListener, GCInspectorMXBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MBEAN_NAME |
Constructor and Description |
---|
GCInspector() |
Modifier and Type | Method and Description |
---|---|
double[] |
getAndResetStats() |
long |
getGcLogThresholdInMs() |
long |
getGcWarnThresholdInMs() |
long |
getStatusThresholdInMs() |
org.apache.cassandra.service.GCInspector.State |
getTotalSinceLastCheck() |
void |
handleNotification(javax.management.Notification notification,
java.lang.Object handback) |
static void |
register() |
void |
setGcLogThresholdInMs(long threshold) |
void |
setGcWarnThresholdInMs(long threshold) |
public static final java.lang.String MBEAN_NAME
public static void register() throws java.lang.Exception
java.lang.Exception
public void handleNotification(javax.management.Notification notification, java.lang.Object handback)
handleNotification
in interface javax.management.NotificationListener
public org.apache.cassandra.service.GCInspector.State getTotalSinceLastCheck()
public double[] getAndResetStats()
getAndResetStats
in interface GCInspectorMXBean
public void setGcWarnThresholdInMs(long threshold)
setGcWarnThresholdInMs
in interface GCInspectorMXBean
public long getGcWarnThresholdInMs()
getGcWarnThresholdInMs
in interface GCInspectorMXBean
public void setGcLogThresholdInMs(long threshold)
setGcLogThresholdInMs
in interface GCInspectorMXBean
public long getGcLogThresholdInMs()
getGcLogThresholdInMs
in interface GCInspectorMXBean
public long getStatusThresholdInMs()
getStatusThresholdInMs
in interface GCInspectorMXBean
Copyright © 2009-2021 The Apache Software Foundation