public interface PAL
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
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 |
incrementExceptionCount()
Increments the value of the "number of exceptions generated"
statistic.
|
void |
incrementFlowCount()
increment the value of "flow count" - the count of "BPM" invocations (advancing a work object)
|
void |
startJavaStepTimer(boolean aNewStep)
Deprecated.
As of release 7.1 we do not track java step times
|
void |
startOrStopTimer(java.lang.String timer,
boolean on)
Deprecated.
This method was only ever used to track stream times, and as of release 7.1 we do not track stream times
|
void |
startTimingConnect()
Starts recording the time spent in an external connection.
|
void |
stopJavaStepTimer()
Deprecated.
As of release 7.1 we do not track java step times
|
void |
stopTimingConnect()
Stops recording the time spent in an external connection.
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
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 Threadvoid clearStats()
void incrementConnectCount()
void incrementAlertCount()
void incrementExceptionCount()
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 behaviortimer
- on
- void stopJavaStepTimer()
int getInteraction()
void incrementFlowCount()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.