Package io.objectbox.sync.server
Class ClusterFlags
java.lang.Object
io.objectbox.sync.server.ClusterFlags
Special bit flags used in cluster mode only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Indicates that this cluster always stays in the "follower" cluster role. -
Method Summary
-
Field Details
-
FixedFollower
public static final int FixedFollowerIndicates 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:
-