public class ApdexStatsImpl extends java.lang.Object implements ApdexStats
| Modifier | Constructor and Description |
|---|---|
protected |
ApdexStatsImpl() |
|
ApdexStatsImpl(int s,
int t,
int f) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Every stats base should be cloneable.
|
int |
getApdexFrustrating()
For testing
|
int |
getApdexSatisfying()
For testing
|
int |
getApdexTolerating()
For testing
|
boolean |
hasData() |
void |
merge(StatsBase statsObj)
Merge the given stats into this object.
|
void |
recordApdexFrustrated() |
void |
recordApdexResponseTime(long responseTimeMillis,
long apdexTInMillis)
Apdex metrics are special case values where we overload some fields inside the stats to store transaction counts
by buckets
|
void |
reset() |
java.lang.String |
toString() |
void |
writeJSONString(java.io.Writer writer) |
protected ApdexStatsImpl()
public ApdexStatsImpl(int s,
int t,
int f)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
StatsBasepublic java.lang.String toString()
toString in class java.lang.Objectpublic void recordApdexFrustrated()
recordApdexFrustrated in interface ApdexStatspublic int getApdexSatisfying()
ApdexStatsgetApdexSatisfying in interface ApdexStatspublic int getApdexTolerating()
ApdexStatsgetApdexTolerating in interface ApdexStatspublic int getApdexFrustrating()
ApdexStatsgetApdexFrustrating in interface ApdexStatspublic void recordApdexResponseTime(long responseTimeMillis,
long apdexTInMillis)
ApdexStatsrecordApdexResponseTime in interface ApdexStatspublic void writeJSONString(java.io.Writer writer)
throws java.io.IOException
writeJSONString in interface org.json.simple.JSONStreamAwarejava.io.IOException