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

NameTypeDescription
evtSimpleEventThe event to be tested

Returns

TypeDescription
booleantrue if the event is recevied from another agent in the cluster else false

Cautions

none

Example


String cName = ClusterFunctions.isEventRecovered(SimpleEvent evt);