Package com.streambase.sb
Class ClusterNotificationTupleFields
java.lang.Object
com.streambase.sb.ClusterNotificationTupleFields
A class that captures the fields of tuples on the control stream relating to HA cluster notifications.
-
Field Summary
-
Method Summary
-
Field Details
-
subsystem
Subsystem -
id
protected int idIdentifier -
params
Parameters
-
-
Method Details
-
newTuple
public static Tuple newTuple(int clusterEventType, String param0, String param1, String param2) throws TupleException Return a new ClusterNotification tuple.- Parameters:
clusterEventType
- Constants.CLUSTER_EVENT_TYPE_QUORUM, CLUSTER_EVENT_TYPE_NODE, or CLUSTER_EVENT_TYPE_PARTITIONparam0
- parameter 0param1
- parameter 1param2
- parameter 2- Returns:
- a new cluster notification tuple
- Throws:
TupleException
- on error
-
getSubsystem
Get subsystem- Returns:
- subsystem
-
getId
protected int getId()Get identifier- Returns:
- identifier
-
getParams
Get parameters- Returns:
- parameters
-