java.lang.Object
org.mule.util.performance.StopWatch
org.mule.util.performance.DetailedStopWatch
- All Implemented Interfaces:
- java.lang.Cloneable
- public class DetailedStopWatch
- extends StopWatch
DetailedStopWatch generates a detailed stop watch, logging all cache hits.
- Version:
- $ Revision: 1.1.1.1 $
|
Method Summary |
void |
start()
Signals the start of an operation for the given key. |
void |
stop()
Signals the end of an operation |
| Methods inherited from class org.mule.util.performance.StopWatch |
copy, getCache, getCategory, getCategoryName, getKey, getName, setCache, setCategory, setCategoryName, setKey, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startTime
private long startTime
DetailedStopWatch
public DetailedStopWatch()
DetailedStopWatch
public DetailedStopWatch(org.apache.log4j.Category category,
java.lang.String name)
start
public void start()
- Description copied from class:
StopWatch
- Signals the start of an operation for the given key.
The setKey() method should be called prior to this operation
if a detailed output is required
- Overrides:
start in class StopWatch
stop
public void stop()
- Signals the end of an operation
- Overrides:
stop in class StopWatch