|
|||||||||
| Home >> All >> org >> mule >> util >> [ performance overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mule.util.performance
Class StopWatch

java.lang.Objectorg.mule.util.performance.StopWatch
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- CompactStopWatch, DetailedStopWatch
- public abstract class StopWatch
- extends java.lang.Object
- implements java.lang.Cloneable
- extends java.lang.Object
StopWatch is an abstract base class for cache operation
based stop watches such as the compact or detailed stop watches.
- Version:
- $ Revision: 1.1.1.1 $
| Field Summary | |
protected org.apache.log4j.Category |
category
Holds value of property category. |
protected org.mule.umo.UMOChain |
chain
Holds value of property cache. |
protected java.lang.Object |
key
Holds value of property key. |
protected java.lang.String |
name
Holds value of property name. |
| Constructor Summary | |
StopWatch()
|
|
StopWatch(org.apache.log4j.Category category,
java.lang.String name)
|
|
| Method Summary | |
StopWatch |
copy()
|
org.mule.umo.UMOChain |
getCache()
Getter for property cache. |
org.apache.log4j.Category |
getCategory()
Getter for property category. |
java.lang.String |
getCategoryName()
|
java.lang.Object |
getKey()
Getter for property key. |
java.lang.String |
getName()
Getter for property name. |
void |
setCache(org.mule.umo.UMOChain chain)
Setter for property cache. |
void |
setCategory(org.apache.log4j.Category category)
Setter for property category. |
void |
setCategoryName(java.lang.String categoryName)
|
void |
setKey(java.lang.Object key)
Setter for property key. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
start()
Signals the start of an operation for the given key. |
void |
stop()
Signals the end of an operation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
category
protected org.apache.log4j.Category category
- Holds value of property category.
name
protected java.lang.String name
- Holds value of property name.
key
protected java.lang.Object key
- Holds value of property key.
chain
protected org.mule.umo.UMOChain chain
- Holds value of property cache.
| Constructor Detail |
StopWatch
public StopWatch()
StopWatch
public StopWatch(org.apache.log4j.Category category, java.lang.String name)
| Method Detail |
copy
public StopWatch copy()
start
public void start()
- 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
stop
public void stop()
- Signals the end of an operation
getCategory
public org.apache.log4j.Category getCategory()
- Getter for property category.
setCategory
public void setCategory(org.apache.log4j.Category category)
- Setter for property category.
getCategoryName
public java.lang.String getCategoryName()
setCategoryName
public void setCategoryName(java.lang.String categoryName)
getName
public java.lang.String getName()
- Getter for property name.
setName
public void setName(java.lang.String name)
- Setter for property name.
getKey
public java.lang.Object getKey()
- Getter for property key.
setKey
public void setKey(java.lang.Object key)
- Setter for property key.
getCache
public org.mule.umo.UMOChain getCache()
- Getter for property cache.
setCache
public void setCache(org.mule.umo.UMOChain chain)
- Setter for property cache.
|
|||||||||
| Home >> All >> org >> mule >> util >> [ performance overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mule.util.performance.StopWatch