## Uses of Class
com.hazelcast.config.cp.CPSubsystemConfig

- Packages that use CPSubsystemConfig
  Package | Description
  --- | ---
  com.hazelcast.config | Provides classes for configuring HazelcastInstance.
  com.hazelcast.config.cp | This package contains configuration classes for the `CPSubsystem`

- - ### Uses of CPSubsystemConfig in com.hazelcast.config

    Methods in com.hazelcast.config that return CPSubsystemConfig
    Modifier and Type | Method and Description
    --- | ---
    `CPSubsystemConfig` | Config.`getCPSubsystemConfig()` Get current configuration for the CP subsystem

    Methods in com.hazelcast.config with parameters of type CPSubsystemConfig
    Modifier and Type | Method and Description
    --- | ---
    `Config` | Config.`setCPSubsystemConfig(CPSubsystemConfig cpSubsystemConfig)` Set CP subsystem configuration

  - ### Uses of CPSubsystemConfig in com.hazelcast.config.cp

    Methods in com.hazelcast.config.cp that return CPSubsystemConfig
    Modifier and Type | Method and Description
    --- | ---
    `CPSubsystemConfig` | CPSubsystemConfig.`addLockConfig(FencedLockConfig lockConfig)` Adds the `FencedLock` configuration.
    `CPSubsystemConfig` | CPSubsystemConfig.`addSemaphoreConfig(CPSemaphoreConfig cpSemaphoreConfig)` Adds the CP `ISemaphore` configuration.
    `CPSubsystemConfig` | CPSubsystemConfig.`setCPMemberCount(int cpMemberCount)` Sets the CP member count.
    `CPSubsystemConfig` | CPSubsystemConfig.`setFailOnIndeterminateOperationState(boolean failOnIndeterminateOperationState)` Sets the value to determine if CP API calls will fail when result of a replicated operation becomes indeterminate
    `CPSubsystemConfig` | CPSubsystemConfig.`setGroupSize(int groupSize)` Sets group size.
    `CPSubsystemConfig` | CPSubsystemConfig.`setLockConfigs(Map<String,FencedLockConfig> lockConfigs)` Sets the map of `FencedLock` configurations, mapped by config name.
    `CPSubsystemConfig` | CPSubsystemConfig.`setMissingCPMemberAutoRemovalSeconds(int missingCPMemberAutoRemovalSeconds)` Sets duration to wait before automatically removing a missing CP member from the CP subsystem
    `CPSubsystemConfig` | CPSubsystemConfig.`setRaftAlgorithmConfig(RaftAlgorithmConfig raftAlgorithmConfig)` Sets configuration options for Hazelcast's Raft consensus algorithm implementation
    `CPSubsystemConfig` | CPSubsystemConfig.`setSemaphoreConfigs(Map<String,CPSemaphoreConfig> cpSemaphoreConfigs)` Sets the map of CP `ISemaphore` configurations, mapped by config name.
    `CPSubsystemConfig` | CPSubsystemConfig.`setSessionHeartbeatIntervalSeconds(int sessionHeartbeatIntervalSeconds)` Sets interval for the periodically-committed CP session heartbeats
    `CPSubsystemConfig` | CPSubsystemConfig.`setSessionTimeToLiveSeconds(int sessionTimeToLiveSeconds)` Sets duration for a CP session to be kept alive after the last heartbeat

    Constructors in com.hazelcast.config.cp with parameters of type CPSubsystemConfig
    Constructor and Description
    `CPSubsystemConfig(CPSubsystemConfig config)`

Copyright © 2020. All rights reserved.