Cluster.isEventRecovered()
Signature
boolean isEventRecovered(SimpleEvent evt)
Domain
ACTION, CONDITION, QUERY
Description
This function returns true if the passed event is received from another agent in the cluster.
The function will return false if the event was created in this agent.
Parameters
Name | Type | Description |
evt | SimpleEvent | The event to be tested |
Returns
Type | Description |
boolean | true if the event is recevied from another agent in the cluster else false |
Example
String cName = ClusterFunctions.isEventRecovered(SimpleEvent evt);