|
||||||||||
| 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()
|
|
StoreStats(StoreStats parent)
|
|
| Method Summary | |
|---|---|
double |
getAvgSizeinBytes(Tracked op)
|
double |
getAvgTimeInMs(Tracked op)
|
long |
getCount(Tracked op)
|
java.util.Map<Tracked,RequestCounter> |
getCounters()
|
long |
getGetAllAggregatedCount()
|
double |
getGetAllAverageCount()
|
long |
getGetAllMaxCount()
|
long |
getMaxLatencyInMs(Tracked op)
|
long |
getMaxSizeInBytes(Tracked op)
|
long |
getNumEmptyResponses(Tracked op)
|
long |
getQ95LatencyInMs(Tracked op)
|
long |
getQ99LatencyInMs(Tracked op)
|
float |
getThroughput(Tracked op)
|
float |
getThroughputInBytes(Tracked op)
|
void |
recordGetAllTime(long timeNS,
int requested,
int returned,
long totalBytes)
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)
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 |
recordPutTimeAndSize(long timeNS,
long size)
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()
public StoreStats(StoreStats parent)
parent - An optional parent stats object that will maintain
aggregate data across many stores| Method Detail |
|---|
public void recordTime(Tracked op,
long timeNS)
public void recordPutTimeAndSize(long timeNS,
long size)
public void recordGetTime(long timeNS,
boolean emptyResponse,
long totalBytes)
public void recordGetAllTime(long timeNS,
int requested,
int returned,
long totalBytes)
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 long getQ95LatencyInMs(Tracked op)
public long getQ99LatencyInMs(Tracked op)
public java.util.Map<Tracked,RequestCounter> getCounters()
public long getMaxSizeInBytes(Tracked op)
public double getAvgSizeinBytes(Tracked op)
public double getGetAllAverageCount()
public long getGetAllAggregatedCount()
public long getGetAllMaxCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||