Uses of Class
com.hazelcast.config.cp.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 Description CPSubsystemConfig
Config. getCPSubsystemConfig()
Get current configuration for the CP subsystemMethods in com.hazelcast.config with parameters of type CPSubsystemConfig Modifier and Type Method 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 Description CPSubsystemConfig
CPSubsystemConfig. addLockConfig(FencedLockConfig lockConfig)
Adds theFencedLock
configuration.CPSubsystemConfig
CPSubsystemConfig. addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Adds the CPISemaphore
configuration.CPSubsystemConfig
CPSubsystemConfig. setBaseDir(File baseDir)
Sets the base directory for persisting CP data.CPSubsystemConfig
CPSubsystemConfig. setCPMemberCount(int cpMemberCount)
Sets the CP member count to initialize CP Subsystem.CPSubsystemConfig
CPSubsystemConfig. setDataLoadTimeoutSeconds(int dataLoadTimeoutSeconds)
Sets the timeout duration for CP members to restore their data from stable storage.CPSubsystemConfig
CPSubsystemConfig. setFailOnIndeterminateOperationState(boolean failOnIndeterminateOperationState)
Sets the value to determine if CP Subsystem calls will fail when result of an API call becomes indeterminate.CPSubsystemConfig
CPSubsystemConfig. setGroupSize(int groupSize)
Sets the number of CP members to form CP groups.CPSubsystemConfig
CPSubsystemConfig. setLockConfigs(Map<String,FencedLockConfig> lockConfigs)
Sets the map ofFencedLock
configurations, mapped by config name.CPSubsystemConfig
CPSubsystemConfig. setMissingCPMemberAutoRemovalSeconds(int missingCPMemberAutoRemovalSeconds)
Sets the duration to wait before automatically removing a missing CP member from CP Subsystem.CPSubsystemConfig
CPSubsystemConfig. setPersistenceEnabled(boolean persistenceEnabled)
Sets whether CP Subsystem Persistence is enabled on this member.CPSubsystemConfig
CPSubsystemConfig. setRaftAlgorithmConfig(RaftAlgorithmConfig raftAlgorithmConfig)
Sets configuration options for Hazelcast's Raft consensus algorithm implementationCPSubsystemConfig
CPSubsystemConfig. setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs)
Sets the map of CPISemaphore
configurations, mapped by config name.CPSubsystemConfig
CPSubsystemConfig. setSessionHeartbeatIntervalSeconds(int sessionHeartbeatIntervalSeconds)
Sets the interval for the periodically-committed CP session heartbeats.CPSubsystemConfig
CPSubsystemConfig. setSessionTimeToLiveSeconds(int sessionTimeToLiveSeconds)
Sets the duration for a CP session to be kept alive after its last session heartbeat.Constructors in com.hazelcast.config.cp with parameters of type CPSubsystemConfig Constructor Description CPSubsystemConfig(CPSubsystemConfig config)