com.hazelcast.config

## Class QuorumConfigBuilder

- java.lang.Object
- - com.hazelcast.config.QuorumConfigBuilder

- Direct Known Subclasses:
    ProbabilisticQuorumConfigBuilder, RecentlyActiveQuorumConfigBuilder

      public abstract class QuorumConfigBuilder
      extends Object

  Commons for quorum config builders.

- - ### Field Summary

    Fields
    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 Summary

    Constructors
    Constructor and Description
    `QuorumConfigBuilder()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract QuorumConfig` | `build()`
    `QuorumConfigBuilder` | `enabled(boolean enabled)`
    `QuorumConfigBuilder` | `withQuorumSize(int size)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### size

          protected int size

      Quorum size: expected number of live members in cluster for quorum to be present.

    - #### enabled

          protected boolean enabled

      Whether this quorum config is enabled or not

  - ### Constructor Detail

    - #### QuorumConfigBuilder

          public QuorumConfigBuilder()

  - ### Method Detail

    - #### enabled

          public QuorumConfigBuilder enabled(boolean enabled)

    - #### withQuorumSize

          public QuorumConfigBuilder withQuorumSize(int size)

    - #### build

          public abstract QuorumConfig build()

Copyright © 2018. All rights reserved.