public class BasicSoapStatsHolder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
callCount
the call count
|
protected java.lang.String |
name
the name
|
protected int |
totalCount
the total count
|
protected long |
totalTime
the total time
|
Constructor and Description |
---|
BasicSoapStatsHolder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
long |
addCall(long startTime,
long endTime) |
int |
getCallCount() |
java.lang.String |
getName() |
int |
getTotalCount() |
long |
getTotalTime() |
void |
incrementTotalCount()
add one to the total count
|
void |
setTotalCount(int count) |
java.lang.String |
toString() |
protected int callCount
protected int totalCount
protected long totalTime
protected java.lang.String name
public BasicSoapStatsHolder(java.lang.String name)
name
- the namepublic java.lang.String getName()
public long addCall(long startTime, long endTime)
startTime
- start timeendTime
- end time@CheckReturnValue @Nonnull public java.lang.String toString()
toString
in class java.lang.Object
public int getCallCount()
public long getTotalTime()
public int getTotalCount()
public void setTotalCount(int count)
count
- the countpublic void incrementTotalCount()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.