|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.store.stats.StoreStats
public class StoreStats
Some convenient statistics to track about the store
Constructor Summary | |
---|---|
StoreStats(java.lang.String storeName)
|
|
StoreStats(java.lang.String storeName,
StoreStats parent)
|
Method Summary | |
---|---|
double |
getAvgKeySizeinBytes(Tracked op)
|
double |
getAvgTimeInMs(Tracked op)
|
double |
getAvgValueSizeinBytes(Tracked op)
|
long |
getCount(Tracked op)
|
java.util.Map<Tracked,RequestCounter> |
getCounters()
|
long |
getGetAllAggregatedCount()
|
double |
getGetAllAverageCount()
|
float |
getGetAllKeysThroughput()
|
long |
getGetAllMaxCount()
|
long |
getMaxKeySizeInBytes(Tracked op)
|
long |
getMaxLatencyInMs(Tracked op)
|
long |
getMaxValueSizeInBytes(Tracked op)
|
long |
getNumEmptyResponses(Tracked op)
|
double |
getQ95LatencyInMs(Tracked op)
|
double |
getQ99LatencyInMs(Tracked op)
|
float |
getThroughput(Tracked op)
|
float |
getThroughputInBytes(Tracked op)
|
void |
recordDeleteTime(long timeNS,
long keySize)
Record the duration of specified op. |
void |
recordGetAllTime(long timeNS,
int requested,
int returned,
long totalValueBytes,
long totalKeyBytes)
Record the duration of a get_all operation, along with how many values were requested, how may were actually returned and the size of the values returned. |
void |
recordGetTime(long timeNS,
boolean emptyResponse,
long totalBytes,
long keyBytes)
Record the duration of a get operation, along with whether or not an empty response (ie no values matched) and the size of the values returned. |
void |
recordGetVersionsTime(long timeNS,
boolean emptyResponse)
Record the duration of a get versions operation, along with whether or not an empty response (ie no values matched) was returned. |
void |
recordPutTimeAndSize(long timeNS,
long valueSize,
long keySize)
Record the duration of a put operation, along with the size of the values returned. |
void |
recordTime(Tracked op,
long timeNS)
Record the duration of specified op. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreStats(java.lang.String storeName)
public StoreStats(java.lang.String storeName, StoreStats parent)
parent
- An optional parent stats object that will maintain
aggregate data across many storesMethod Detail |
---|
public void recordTime(Tracked op, long timeNS)
public void recordDeleteTime(long timeNS, long keySize)
public void recordPutTimeAndSize(long timeNS, long valueSize, long keySize)
public void recordGetTime(long timeNS, boolean emptyResponse, long totalBytes, long keyBytes)
public void recordGetVersionsTime(long timeNS, boolean emptyResponse)
public void recordGetAllTime(long timeNS, int requested, int returned, long totalValueBytes, long totalKeyBytes)
public long getCount(Tracked op)
public float getThroughput(Tracked op)
public float getThroughputInBytes(Tracked op)
public double getAvgTimeInMs(Tracked op)
public long getNumEmptyResponses(Tracked op)
public long getMaxLatencyInMs(Tracked op)
public double getQ95LatencyInMs(Tracked op)
public double getQ99LatencyInMs(Tracked op)
public java.util.Map<Tracked,RequestCounter> getCounters()
public long getMaxValueSizeInBytes(Tracked op)
public long getMaxKeySizeInBytes(Tracked op)
public double getAvgValueSizeinBytes(Tracked op)
public double getAvgKeySizeinBytes(Tracked op)
public double getGetAllAverageCount()
public long getGetAllAggregatedCount()
public long getGetAllMaxCount()
public float getGetAllKeysThroughput()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |