Class ClusterFlags


  • public final class ClusterFlags
    extends java.lang.Object
    Special bit flags used in cluster mode only.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int FixedFollower
      Indicates that this cluster always stays in the "follower" cluster role.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FixedFollower

        public static final int FixedFollower
        Indicates that this cluster always stays in the "follower" cluster role. Thus, it does not participate in leader elections. This is useful e.g. for weaker cluster nodes that should not become leaders.
        See Also:
        Constant Field Values