|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PAL
A set of performance statistics for a particular Thread. Some statistics are always returned, and some statistics are optional--they are returned only if specifically requested.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
Method Summary | |
---|---|
void |
clearStats()
Resets all the statistics to zero. |
int |
getInteraction()
Return the current interaction number. |
ClipboardPage |
getStats()
Returns the standard statistics for the current Thread, as a clipboard page. |
ClipboardPage |
getStats(java.util.Set aOptionalStats)
Returns the standard statistics for the current Thread, as a clipboard page, as well as some of the optional statistics. |
ClipboardPage |
getStats(java.lang.String aConnectionID,
java.lang.String aThreadName)
Returns the statistics for a different Thread, as a clipboard page |
void |
incrementAlertCount()
Increments the value of the "number of alerts generated" statistic. |
void |
incrementConnectCount()
Increments the value of the "number of external connections" statistic. |
void |
incrementFlowCount()
increment the value of "flow count" - the count of "BPM" invocations (advancing a work object) |
void |
startJavaStepTimer(boolean aNewStep)
Starts timing for a Java step of an Activity |
void |
startOrStopTimer(java.lang.String timer,
boolean on)
Searches for the timer named by string and either starts or stops it depending on the ON value. |
void |
startTimingConnect()
Starts recording the time spent in an external connection. |
void |
stopJavaStepTimer()
Stops timing for a Java step of an Activity |
void |
stopTimingConnect()
Stops recording the time spent in an external connection. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
Method Detail |
---|
ClipboardPage getStats()
ClipboardPage getStats(java.util.Set aOptionalStats)
aOptionalStats
- the names of the optional statistics that are desired.
The Code-Pega-PAL
property names of these statistics must be
supplied as String
s.
ClipboardPage getStats(java.lang.String aConnectionID, java.lang.String aThreadName)
aConnectionID
- the connection ID for the Requestor containing
the desired ThreadaThreadName
- the name of the desired Thread
void clearStats()
void incrementConnectCount()
void incrementAlertCount()
void startTimingConnect()
void stopTimingConnect()
void startJavaStepTimer(boolean aNewStep)
aNewStep
- true
if this is a new Java step and the
count should be incrementedvoid startOrStopTimer(java.lang.String timer, boolean on)
True
starts the timer,
false
stops it.
The timer string must be a substring of the string that identifies the PAL Statistic, non-unique substrings will result in unexpected behavior
timer
- on
- void stopJavaStepTimer()
int getInteraction()
void incrementFlowCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |