public interface StatsManager extends StatsViewer
Modifier and Type | Method and Description |
---|---|
void |
incCommandCounter(CommandType type)
Increment the command count for the given command type.
|
void |
incResultCounter(int resultCode)
Increment the result count for the given code.
|
void |
recordResponseTime(CommandType type,
long responseTime)
Record the time interval (in milliseconds) which elapsed between sending a command and receiving a response to
that command - that is, the response time of a transaction.
|
getAverageResponseTime, getAverageResponseTime, getCommandCount, getCommandCount, getMruInterval, getRecentCommandCount, getRecentCommandCount, getResultCodeCount
void incResultCounter(int resultCode)
StatsViewer.getResultCodeCount(int)
.void incCommandCounter(CommandType type)
StatsViewer.getCommandCount()
.void recordResponseTime(CommandType type, long responseTime)