public interface IPerfService
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DATA_LAYOUT |
static String |
LEGACY_EXTRA_DATA_LAYOUT |
Modifier and Type | Method and Description |
---|---|
Long |
actionEnd(Object object,
Serializable actionData)
End an action, recording the usual information
|
Object |
actionInit(String category,
String actionName)
Returns a token when an action is initialized
|
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
|
void |
actionStart(Object object)
Begin an action
|
IPerfSchema |
findSchemaByID(int schemaID)
find a schema by ID
|
IPerfAnalysis |
getAnalysis(IPerfData data,
int style)
get analysis object for this service
|
IPerfData |
getData()
retrieves a copy of the current perfdata set
|
long |
getEntryCount()
total # of entries since last start/reset
|
IPerfSerializer |
getSerializer()
get a serializer for this service
|
void |
reset()
resets the perf service's data
|
void |
start()
initialize the service
|
void |
stop()
stop the service
|
static final String DEFAULT_DATA_LAYOUT
static final String LEGACY_EXTRA_DATA_LAYOUT
void start() throws PortalException
PortalException
void stop()
void reset() throws PortalException
PortalException
IPerfData getData()
IPerfAnalysis getAnalysis(IPerfData data, int style)
IPerfSerializer getSerializer()
Object actionInit(String category, String actionName)
Object actionInit(String category, String actionName, String customLayout, IPerfActionCallback callback)
void actionStart(Object object)
Long actionEnd(Object object, Serializable actionData)
long getEntryCount()
IPerfSchema findSchemaByID(int schemaID)