Package io.objectbox.sync.server
Class ClusterFlags
- java.lang.Object
-
- io.objectbox.sync.server.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.
-
-
-
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
-
-