Pattern.Manager.Advanced.getRecentEventId()
Signature
long getRecentEventId(Object opaque)
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
Name | Type | Description |
advancedOpaque | Object | Service when it invoked the callback RuleFunction. |
Returns
Type | Description |
long | -1 if there was nothing. |
See Also
void setCompletionListener(Object patternInstance, String ruleFunctionURI)