org.rutil.loadtest
Class Stats
java.lang.Object
org.rutil.loadtest.Stats
public class Stats
- extends java.lang.Object
This class is used to track some runtime stats for the tests
- Author:
- mohan
|
Field Summary |
java.util.concurrent.atomic.AtomicLong |
bytesReceived
|
java.util.concurrent.atomic.AtomicLong |
bytesSent
|
java.util.concurrent.atomic.AtomicInteger |
errorCount
|
java.util.concurrent.atomic.AtomicLong |
totalItems
|
java.util.concurrent.atomic.AtomicLong |
totalRequests
|
java.util.concurrent.atomic.AtomicLong |
totalTime
|
|
Constructor Summary |
Stats()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
totalRequests
public java.util.concurrent.atomic.AtomicLong totalRequests
totalTime
public java.util.concurrent.atomic.AtomicLong totalTime
totalItems
public java.util.concurrent.atomic.AtomicLong totalItems
bytesSent
public java.util.concurrent.atomic.AtomicLong bytesSent
bytesReceived
public java.util.concurrent.atomic.AtomicLong bytesReceived
errorCount
public java.util.concurrent.atomic.AtomicInteger errorCount
Stats
public Stats()
update
public void update(Stats stats)
getCreateTime
public long getCreateTime()
getAvgLatency
public float getAvgLatency()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object