public abstract class QuorumConfigBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled
Whether this quorum config is enabled or not
|
protected int |
size
Quorum size: expected number of live members in cluster for quorum to be present.
|
Constructor and Description |
---|
QuorumConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract QuorumConfig |
build() |
QuorumConfigBuilder |
enabled(boolean enabled) |
QuorumConfigBuilder |
withQuorumSize(int size) |
protected int size
protected boolean enabled
public QuorumConfigBuilder enabled(boolean enabled)
public QuorumConfigBuilder withQuorumSize(int size)
public abstract QuorumConfig build()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.