Class ClusterNotificationTupleFields


  • public class ClusterNotificationTupleFields
    extends Object
    A class that captures the fields of tuples on the control stream relating to HA cluster notifications.
    • Method Detail

      • 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_PARTITION
        Returns:
        a new cluster notification tuple
        Throws:
        TupleException - on error