public class ConcurrentCommandCounter extends Object
| Constructor and Description |
|---|
ConcurrentCommandCounter() |
ConcurrentCommandCounter(int request,
int requestExpired,
long requestWaitTime,
long requestResponseTime,
long requestEstimatedProcessingTime,
int response,
ConcurrentCommandStatusCounter responseCommandStatusCounter) |
| Modifier and Type | Method and Description |
|---|---|
long |
addRequestEstimatedProcessingTimeAndGet(long estimatedProcessingTime) |
long |
addRequestResponseTimeAndGet(long responseTime) |
long |
addRequestWaitTimeAndGet(long waitTime) |
ConcurrentCommandCounter |
createSnapshot() |
int |
getRequest() |
long |
getRequestEstimatedProcessingTime() |
int |
getRequestExpired() |
long |
getRequestResponseTime() |
long |
getRequestWaitTime() |
int |
getResponse() |
ConcurrentCommandStatusCounter |
getResponseCommandStatusCounter() |
int |
incrementRequestAndGet() |
int |
incrementRequestExpiredAndGet() |
int |
incrementResponseAndGet() |
void |
reset() |
String |
toString() |
public ConcurrentCommandCounter()
public ConcurrentCommandCounter(int request,
int requestExpired,
long requestWaitTime,
long requestResponseTime,
long requestEstimatedProcessingTime,
int response,
ConcurrentCommandStatusCounter responseCommandStatusCounter)
public void reset()
public ConcurrentCommandCounter createSnapshot()
public int getRequest()
public int incrementRequestAndGet()
public int getRequestExpired()
public int incrementRequestExpiredAndGet()
public long getRequestWaitTime()
public long addRequestWaitTimeAndGet(long waitTime)
public long getRequestResponseTime()
public long addRequestResponseTimeAndGet(long responseTime)
public long getRequestEstimatedProcessingTime()
public long addRequestEstimatedProcessingTimeAndGet(long estimatedProcessingTime)
public int getResponse()
public int incrementResponseAndGet()
public ConcurrentCommandStatusCounter getResponseCommandStatusCounter()
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.