Package io.objectbox.sync.server
Class ClusterFlags
- java.lang.Object
-
- io.objectbox.sync.server.ClusterFlags
-
public final class ClusterFlags extends java.lang.ObjectSpecial bit flags used in cluster mode only.
-
-
Field Summary
Fields Modifier and Type Field Description static intFixedFollowerIndicates that this cluster always stays in the "follower" cluster role.
-
Constructor Summary
Constructors Modifier Constructor Description privateClusterFlags()
-
-
-
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
-
-