Package com.webmethods.rtl.util.perf
Interface IPerfService
public interface IPerfService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionactionEnd
(Object object, Serializable actionData) End an action, recording the usual informationactionInit
(String category, String actionName) Returns a token when an action is initializedactionInit
(String category, String actionName, String customLayout, IPerfActionCallback callback) Returns a token when an action is initialized If there is a custom callback, there needs to be a custom layout to render the data as wellvoid
actionStart
(Object object) Begin an actionfindSchemaByID
(int schemaID) find a schema by IDgetAnalysis
(IPerfData data, int style) get analysis object for this servicegetData()
retrieves a copy of the current perfdata setlong
total # of entries since last start/resetget a serializer for this servicevoid
reset()
resets the perf service's datavoid
start()
initialize the servicevoid
stop()
stop the service
-
Field Details
-
DEFAULT_DATA_LAYOUT
- See Also:
-
LEGACY_EXTRA_DATA_LAYOUT
- See Also:
-
-
Method Details
-
start
initialize the service- Throws:
PortalException
-
stop
void stop()stop the service -
reset
resets the perf service's data- Throws:
PortalException
-
getData
IPerfData getData()retrieves a copy of the current perfdata set -
getAnalysis
get analysis object for this service- Returns:
-
getSerializer
IPerfSerializer getSerializer()get a serializer for this service- Returns:
-
actionInit
Returns a token when an action is initialized -
actionInit
Object actionInit(String category, String actionName, String customLayout, IPerfActionCallback callback) Returns a token when an action is initialized If there is a custom callback, there needs to be a custom layout to render the data as well -
actionStart
Begin an action -
actionEnd
End an action, recording the usual information- Returns:
- the execution time for the action
-
getEntryCount
long getEntryCount()total # of entries since last start/reset- Returns:
-
findSchemaByID
find a schema by ID
-