Package | Description |
---|---|
com.hazelcast.config.cp |
This package contains configuration classes
for the
CPSubsystem |
Modifier and Type | Method and Description |
---|---|
FencedLockConfig |
FencedLockConfig.disableReentrancy()
Disable reentrancy.
|
FencedLockConfig |
FencedLockConfig.enableReentrancy()
Enables reentrancy.
|
FencedLockConfig |
CPSubsystemConfig.findLockConfig(String name)
Returns the
FencedLock configuration for the given name. |
FencedLockConfig |
FencedLockConfig.setLockAcquireLimit(int lockAcquireLimit)
Sets the number of lock acquires a lock holder can perform
|
FencedLockConfig |
FencedLockConfig.setName(String name)
Sets name of the semaphore
|
Modifier and Type | Method and Description |
---|---|
Map<String,FencedLockConfig> |
CPSubsystemConfig.getLockConfigs()
Returns the map of
FencedLock configurations |
Modifier and Type | Method and Description |
---|---|
CPSubsystemConfig |
CPSubsystemConfig.addLockConfig(FencedLockConfig lockConfig)
Adds the
FencedLock configuration. |
Modifier and Type | Method and Description |
---|---|
CPSubsystemConfig |
CPSubsystemConfig.setLockConfigs(Map<String,FencedLockConfig> lockConfigs)
Sets the map of
FencedLock configurations, mapped by config
name. |
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.