Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.config.cp |
This package contains configuration classes
for the
CPSubsystem |
Modifier and Type | Method and Description |
---|---|
CPSubsystemConfig |
Config.getCPSubsystemConfig()
Get current configuration for the CP subsystem
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setCPSubsystemConfig(CPSubsystemConfig cpSubsystemConfig)
Set CP subsystem configuration
|
Modifier and Type | Method and Description |
---|---|
CPSubsystemConfig |
CPSubsystemConfig.addLockConfig(FencedLockConfig lockConfig)
Adds the
FencedLock configuration. |
CPSubsystemConfig |
CPSubsystemConfig.addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Adds the CP
ISemaphore 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.setCPMemberPriority(int cpMemberPriority)
Sets the CP member priority.
|
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 of
FencedLock 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
implementation
|
CPSubsystemConfig |
CPSubsystemConfig.setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs)
Sets the map of CP
ISemaphore 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.
|
Constructor and Description |
---|
CPSubsystemConfig(CPSubsystemConfig config) |
Copyright © 2024 Hazelcast, Inc.. All rights reserved.