Pattern.Manager.Advanced.getRecentEventId()

Signature

long getRecentEventId(Object opaque)

Domain

ACTION

Description

Returns the most Event Id observed by the pattern instance - i.e that most recent one that did not cause the instance to fail. The only parameter this function takes is the $1opaque$1 parameter provided by the Pattern Service when it invokes the listener rule function. $1-1$1 is returned if there was no such Event Id.

Parameters

NameTypeDescription
advancedOpaqueObjectService when it invoked the callback RuleFunction.

Returns

TypeDescription
long-1 if there was nothing.

Cautions

none

See Also

void setCompletionListener(Object patternInstance, String ruleFunctionURI)