|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.util.ResponseTimeMonitorImpl
public class ResponseTimeMonitorImpl
Default implementation of ResponseTimeMonitor
.
Constructor Summary | |
---|---|
ResponseTimeMonitorImpl()
Deprecated. |
Method Summary | |
---|---|
int |
getAccessCount()
Deprecated. Return the number of hits this object has handled. |
int |
getAverageResponseTimeMillis()
Deprecated. Return the average response time achieved by this object. |
int |
getBestResponseTimeMillis()
Deprecated. Return the best (lowest) response time achieved by this object. |
Date |
getLoadDate()
Deprecated. Return the date when this object was loaded. |
long |
getUptimeMillis()
Deprecated. Return the number of milliseconds since this object was loaded. |
int |
getWorstResponseTimeMillis()
Deprecated. Return the worst (slowest) response time achieved by this object. |
void |
recordResponseTime(long responseTimeMillis)
Deprecated. Utility method to record this response time, updating the best and worst response times if necessary. |
String |
toString()
Deprecated. Return a human-readable string showing the performance data recorded by this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResponseTimeMonitorImpl()
Method Detail |
---|
public Date getLoadDate()
public int getAccessCount()
getAccessCount
in interface ResponseTimeMonitor
public long getUptimeMillis()
public int getAverageResponseTimeMillis()
getAverageResponseTimeMillis
in interface ResponseTimeMonitor
public int getBestResponseTimeMillis()
getBestResponseTimeMillis
in interface ResponseTimeMonitor
public int getWorstResponseTimeMillis()
getWorstResponseTimeMillis
in interface ResponseTimeMonitor
public void recordResponseTime(long responseTimeMillis)
responseTimeMillis
- the response time of this requestpublic String toString()
toString
in class Object
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |