com.apama.queries
Event ClusterMembers
Cluster information.
Sent on any changes to the CLUSTER_STATE_CHANNEL or on a ClusterStateRequest to the destination specified in the request.
(While this event definition is publicly visible we strongly advise against users writing code that routes/sends/emits these events to any of the cluster members.)
Constant Summary |
constant string | CLUSTER_STATE_CHANNEL := "com.apama.queries.ApamaQueriesClusterState"
Name of default channel on which all cluster membership changes are sent to. |
Action Summary |
string |
getChannel(com.apama.queries.ClusterMember c, boolean sending)
Generates a channel name based on this cluster member and user specified member of the form <sending member>-to-<receiving member>. |
CLUSTER_STATE_CHANNEL
constant string CLUSTER_STATE_CHANNEL := "com.apama.queries.ApamaQueriesClusterState"
Name of default channel on which all cluster membership changes are sent to.
iAmMaster
boolean iAmMaster
Flag indicating whether or not the cluster member that sent this event is the master node.
master
com.apama.queries.ClusterMember master
Correlator host/port details of master node.
myself
com.apama.queries.ClusterMember myself
Correlator host/port details of cluster member that sent this event.
secondaries
sequence<com.apama.queries.ClusterMember > secondaries
Sequence of correlator host/port details of all cluster members excluding the master.
getChannel
string getChannel(com.apama.queries.ClusterMember c, boolean sending)
Generates a channel name based on this cluster member and user specified member of the form <sending member>-to-<receiving member>.
-
Parameters:
-
c
-
sending
-
See Also:
-
com.apama.queries.ClusterMember - (While this event definition is publicly visible we strongly advise against users writing code that routes/sends/emits these events to any of the cluster members.)