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 stringCLUSTER_STATE_CHANNEL := "com.apama.queries.ApamaQueriesClusterState"

Name of default channel on which all cluster membership changes are sent to.
 
Member Summary
 com.apama.queries.ClusterMembermaster

Correlator host/port details of master node.
 com.apama.queries.ClusterMembermyself

Correlator host/port details of cluster member that sent this event.
 booleaniAmMaster

Flag indicating whether or not the cluster member that sent this event is the master node.
 sequence<com.apama.queries.ClusterMember >secondaries

Sequence of correlator host/port details of all cluster members excluding the master.
 
Action Summary
 stringgetChannel(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>.
 
Constant Detail

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.
Member Detail

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.
Action Detail

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.)