Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mule.util.performance
Class DetailedStopWatch  view DetailedStopWatch download DetailedStopWatch.java

java.lang.Object
  extended byorg.mule.util.performance.StopWatch
      extended byorg.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 $

Field Summary
private  long startTime
           
 
Fields inherited from class org.mule.util.performance.StopWatch
category, chain, key, name
 
Constructor Summary
DetailedStopWatch()
           
DetailedStopWatch(org.apache.log4j.Category category, java.lang.String name)
           
 
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
 

Field Detail

startTime

private long startTime
Constructor Detail

DetailedStopWatch

public DetailedStopWatch()

DetailedStopWatch

public DetailedStopWatch(org.apache.log4j.Category category,
                         java.lang.String name)
Method Detail

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