Package org.cyclos.impl.system
Class ProfilingEvent
- java.lang.Object
-
- org.cyclos.impl.system.ProfilingElement
-
- org.cyclos.impl.system.ProfilingEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProfilingEndEvent,ProfilingLockEvent,ProfilingQueryEvent,ProfilingScriptStartEvent,ProfilingTransactionStartEvent
public abstract class ProfilingEvent extends ProfilingElement
Base class for all profiling events- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfilingEvent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetContext()IntegergetSeq()abstract ProfilingEventTypegetType()voidonAdded(ProfilingEntry entry)Callback method called when the event is added to a profiling entryvoidsetContext(String context)voidsetSeq(Integer seq)StringtoString()-
Methods inherited from class org.cyclos.impl.system.ProfilingElement
end, getDuration, getTimestamp, setDuration, setTimestamp
-
-
-
-
Method Detail
-
getContext
public String getContext()
-
getSeq
public Integer getSeq()
-
getType
public abstract ProfilingEventType getType()
-
onAdded
public void onAdded(ProfilingEntry entry)
Callback method called when the event is added to a profiling entry
-
setContext
public void setContext(String context)
-
setSeq
public void setSeq(Integer seq)
-
-