Package jadex.rules.state
Interface IProfiler
- 
- All Known Implementing Classes:
- Profiler
 
 public interface IProfilerA profiler stores execution information, such as time and memory consumption. The application has to call the start()/stop() for information on specific items being collected.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classIProfiler.ProfilingInfoStruct for profiling information.
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringNODEEVENT_OBJECTADDEDThe node object added event item.static java.lang.StringNODEEVENT_OBJECTMODIFIEDThe node object modified event item.static java.lang.StringNODEEVENT_OBJECTREMOVEDThe node object removed event item.static java.lang.StringNODEEVENT_TUPLEADDEDThe node tuple added event item.static java.lang.StringNODEEVENT_TUPLEMODIFIEDThe node tuple modified event item.static java.lang.StringNODEEVENT_TUPLEREMOVEDThe node tuple removed event item.static java.lang.StringOBJECTEVENT_ADDEDThe object added event item.static java.lang.StringOBJECTEVENT_MODIFIEDThe object modified event item.static java.lang.StringOBJECTEVENT_REMOVEDThe object removed event item.static java.lang.StringTYPE_NODEThe rete-node type.static java.lang.StringTYPE_NODEEVENTThe rete-node event type (see nodeevent_xxx for possible items).static java.lang.StringTYPE_OBJECTThe object-type type.static java.lang.StringTYPE_OBJECTEVENTThe object event type (see objectevent_xxx for possible items).static java.lang.StringTYPE_ROOTThe dummy root type (not used for ordering).static java.lang.StringTYPE_RULEThe rule type.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IProfiler.ProfilingInfo[]getProfilingInfos(int start)Get the current profiling infos from the given start index.voidstart(java.lang.String type, java.lang.Object item)Start profiling an item.voidstop(java.lang.String type, java.lang.Object item)Stop profiling the current item.
 
- 
- 
- 
Field Detail- 
TYPE_ROOTstatic final java.lang.String TYPE_ROOT The dummy root type (not used for ordering).- See Also:
- Constant Field Values
 
 - 
TYPE_RULEstatic final java.lang.String TYPE_RULE The rule type.- See Also:
- Constant Field Values
 
 - 
TYPE_OBJECTstatic final java.lang.String TYPE_OBJECT The object-type type.- See Also:
- Constant Field Values
 
 - 
TYPE_OBJECTEVENTstatic final java.lang.String TYPE_OBJECTEVENT The object event type (see objectevent_xxx for possible items).- See Also:
- Constant Field Values
 
 - 
TYPE_NODEstatic final java.lang.String TYPE_NODE The rete-node type.- See Also:
- Constant Field Values
 
 - 
TYPE_NODEEVENTstatic final java.lang.String TYPE_NODEEVENT The rete-node event type (see nodeevent_xxx for possible items).- See Also:
- Constant Field Values
 
 - 
OBJECTEVENT_ADDEDstatic final java.lang.String OBJECTEVENT_ADDED The object added event item.- See Also:
- Constant Field Values
 
 - 
OBJECTEVENT_REMOVEDstatic final java.lang.String OBJECTEVENT_REMOVED The object removed event item.- See Also:
- Constant Field Values
 
 - 
OBJECTEVENT_MODIFIEDstatic final java.lang.String OBJECTEVENT_MODIFIED The object modified event item.- See Also:
- Constant Field Values
 
 - 
NODEEVENT_OBJECTADDEDstatic final java.lang.String NODEEVENT_OBJECTADDED The node object added event item.- See Also:
- Constant Field Values
 
 - 
NODEEVENT_OBJECTREMOVEDstatic final java.lang.String NODEEVENT_OBJECTREMOVED The node object removed event item.- See Also:
- Constant Field Values
 
 - 
NODEEVENT_OBJECTMODIFIEDstatic final java.lang.String NODEEVENT_OBJECTMODIFIED The node object modified event item.- See Also:
- Constant Field Values
 
 - 
NODEEVENT_TUPLEADDEDstatic final java.lang.String NODEEVENT_TUPLEADDED The node tuple added event item.- See Also:
- Constant Field Values
 
 - 
NODEEVENT_TUPLEREMOVEDstatic final java.lang.String NODEEVENT_TUPLEREMOVED The node tuple removed event item.- See Also:
- Constant Field Values
 
 - 
NODEEVENT_TUPLEMODIFIEDstatic final java.lang.String NODEEVENT_TUPLEMODIFIED The node tuple modified event item.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
startvoid start(java.lang.String type, java.lang.Object item)Start profiling an item. Nesting (i.e. calling start() several times before calling corresponding stops) is allowed.- Parameters:
- type- A constant representing the event or activity type being profiled (e.g. object added).
- item- The element corresponding to the activity (e.g. the object type).
 
 - 
stopvoid stop(java.lang.String type, java.lang.Object item)Stop profiling the current item. Calls to stop() have match the last unstopped call to start(), with respect to the supplied types and items.- Parameters:
- type- A constant representing the event or activity type being profiled (e.g. object added).
- item- The element corresponding to the activity (e.g. the object type).
 
 - 
getProfilingInfosIProfiler.ProfilingInfo[] getProfilingInfos(int start) Get the current profiling infos from the given start index.- Parameters:
- start- The start index (use 0 for all profiling infos).
 
 
- 
 
-