net.sf.infrared.agent
Class LayerTime
java.lang.Object
net.sf.infrared.agent.LayerTime
- All Implemented Interfaces:
- Cloneable, Serializable
- public class LayerTime
- extends Object
- implements Cloneable, Serializable
This class contains the total time taken to execute the APIs in each layer. Examples of layers are ejb layer,
web layer, Remote Call, Entity, etc. A layer can be defined specific to an application that is being instrumented.
The name of the layer comes from the getApiType method of InfraREDBaseAspect.aj. All pointcut aspects written for
instrumenting the application should extend from InfraREDBaseAspect.aj and extend the method getApiType, to
return the appropriate layer name.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayerTime
public LayerTime(String layer)
getLayer
public String getLayer()
getTime
public long getTime()
setTime
public void setTime(long time)
addToTime
public void addToTime(long time)
subtractFromTime
public void subtractFromTime(long time)
copy
public LayerTime copy()