public class StatisticsHandler extends Object implements StatisticsHandlerMBean
Constructor and Description |
---|
StatisticsHandler() |
Modifier and Type | Method and Description |
---|---|
long |
getAddCount() |
long |
getAppendCount() |
long |
getCASCount() |
long |
getDecrCount() |
long |
getDeleteCount() |
long |
getGetHitCount() |
long |
getGetMissCount() |
long |
getIncrCount() |
long |
getMultiGetCount() |
long |
getMultiGetsCount() |
long |
getPrependCount() |
long |
getReplaceCount() |
long |
getSetCount() |
boolean |
isStatistics() |
void |
resetStats()
Reset the statistics
|
void |
setStatistics(boolean statistics) |
void |
statistics(CommandType cmdType) |
void |
statistics(CommandType cmdType,
int count) |
public final boolean isStatistics()
isStatistics
in interface StatisticsHandlerMBean
public final void statistics(CommandType cmdType)
public final void statistics(CommandType cmdType, int count)
public final void setStatistics(boolean statistics)
setStatistics
in interface StatisticsHandlerMBean
public void resetStats()
StatisticsHandlerMBean
resetStats
in interface StatisticsHandlerMBean
public long getAppendCount()
getAppendCount
in interface StatisticsHandlerMBean
public long getCASCount()
getCASCount
in interface StatisticsHandlerMBean
public long getDecrCount()
getDecrCount
in interface StatisticsHandlerMBean
public long getDeleteCount()
getDeleteCount
in interface StatisticsHandlerMBean
public long getGetHitCount()
getGetHitCount
in interface StatisticsHandlerMBean
public long getGetMissCount()
getGetMissCount
in interface StatisticsHandlerMBean
public long getIncrCount()
getIncrCount
in interface StatisticsHandlerMBean
public long getMultiGetCount()
getMultiGetCount
in interface StatisticsHandlerMBean
public long getMultiGetsCount()
getMultiGetsCount
in interface StatisticsHandlerMBean
public long getPrependCount()
getPrependCount
in interface StatisticsHandlerMBean
public long getSetCount()
getSetCount
in interface StatisticsHandlerMBean
public long getAddCount()
getAddCount
in interface StatisticsHandlerMBean
public long getReplaceCount()
getReplaceCount
in interface StatisticsHandlerMBean
Copyright © 2021. All rights reserved.