Uses of Class
com.hazelcast.config.cp.CPSubsystemConfig
Package
Description
Provides classes for configuring HazelcastInstance.
This package contains configuration classes
for the
CPSubsystem
-
Uses of CPSubsystemConfig in com.hazelcast.config
Modifier and TypeMethodDescriptionConfig.getCPSubsystemConfig()
Get current configuration for the CP subsystemModifier and TypeMethodDescriptionConfig.setCPSubsystemConfig
(CPSubsystemConfig cpSubsystemConfig) Set CP subsystem configuration -
Uses of CPSubsystemConfig in com.hazelcast.config.cp
Modifier and TypeMethodDescriptionCPSubsystemConfig.addCPMapConfig
(CPMapConfig cpMapConfig) Adds theCPMapConfig
configuration.CPSubsystemConfig.addLockConfig
(FencedLockConfig lockConfig) Adds theFencedLock
configuration.CPSubsystemConfig.addSemaphoreConfig
(SemaphoreConfig semaphoreConfig) Adds the CPISemaphore
configuration.CPSubsystemConfig.setBaseDir
(File baseDir) Sets the base directory for persisting CP data.CPSubsystemConfig.setCpMapConfigs
(Map<String, CPMapConfig> cpMapConfigs) CPSubsystemConfig.setCPMapConfigs
(Map<String, CPMapConfig> cpMapConfigs) Sets the map ofCPMapConfig
configurations, mapped by config name.CPSubsystemConfig.setCPMapLimit
(int cpMapLimit) Sets the limit of permittedCPMap
instances.CPSubsystemConfig.setCPMemberCount
(int cpMemberCount) Sets the CP member count to initialize CP Subsystem.CPSubsystemConfig.setCPMemberPriority
(int cpMemberPriority) Sets the CP member priority.CPSubsystemConfig.setDataLoadTimeoutSeconds
(int dataLoadTimeoutSeconds) Sets the timeout duration for CP members to restore their data from stable storage.CPSubsystemConfig.setFailOnIndeterminateOperationState
(boolean failOnIndeterminateOperationState) Sets the value to determine if CP Subsystem calls will fail when result of an API call becomes indeterminate.CPSubsystemConfig.setGroupSize
(int groupSize) Sets the number of CP members to form CP groups.CPSubsystemConfig.setLockConfigs
(Map<String, FencedLockConfig> lockConfigs) Sets the map ofFencedLock
configurations, mapped by config name.CPSubsystemConfig.setMapLimit
(int cpMapLimit) CPSubsystemConfig.setMissingCPMemberAutoRemovalSeconds
(int missingCPMemberAutoRemovalSeconds) Sets the duration to wait before automatically removing a missing CP member from CP Subsystem.CPSubsystemConfig.setPersistenceEnabled
(boolean persistenceEnabled) Sets whether CP Subsystem Persistence is enabled on this member.CPSubsystemConfig.setRaftAlgorithmConfig
(RaftAlgorithmConfig raftAlgorithmConfig) Sets configuration options for Hazelcast's Raft consensus algorithm implementationCPSubsystemConfig.setSemaphoreConfigs
(Map<String, SemaphoreConfig> semaphoreConfigs) Sets the map of CPISemaphore
configurations, mapped by config name.CPSubsystemConfig.setSessionHeartbeatIntervalSeconds
(int sessionHeartbeatIntervalSeconds) Sets the interval for the periodically-committed CP session heartbeats.CPSubsystemConfig.setSessionTimeToLiveSeconds
(int sessionTimeToLiveSeconds) Sets the duration for a CP session to be kept alive after its last session heartbeat.