Package org.apache.cassandra.service
Class GCInspector
java.lang.Object
org.apache.cassandra.service.GCInspector
- All Implemented Interfaces:
EventListener,NotificationListener,GCInspectorMXBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]longlonglongorg.apache.cassandra.service.GCInspector.StatevoidhandleNotification(Notification notification, Object handback) static voidregister()voidsetGcLogThresholdInMs(long threshold) voidsetGcWarnThresholdInMs(long threshold)
-
Field Details
-
MBEAN_NAME
- See Also:
-
-
Constructor Details
-
GCInspector
public GCInspector()
-
-
Method Details
-
register
- Throws:
Exception
-
handleNotification
- Specified by:
handleNotificationin interfaceNotificationListener
-
getTotalSinceLastCheck
public org.apache.cassandra.service.GCInspector.State getTotalSinceLastCheck() -
getAndResetStats
public double[] getAndResetStats()- Specified by:
getAndResetStatsin interfaceGCInspectorMXBean
-
setGcWarnThresholdInMs
public void setGcWarnThresholdInMs(long threshold) - Specified by:
setGcWarnThresholdInMsin interfaceGCInspectorMXBean
-
getGcWarnThresholdInMs
public long getGcWarnThresholdInMs()- Specified by:
getGcWarnThresholdInMsin interfaceGCInspectorMXBean
-
setGcLogThresholdInMs
public void setGcLogThresholdInMs(long threshold) - Specified by:
setGcLogThresholdInMsin interfaceGCInspectorMXBean
-
getGcLogThresholdInMs
public long getGcLogThresholdInMs()- Specified by:
getGcLogThresholdInMsin interfaceGCInspectorMXBean
-
getStatusThresholdInMs
public long getStatusThresholdInMs()- Specified by:
getStatusThresholdInMsin interfaceGCInspectorMXBean
-