Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
LockConfig |
Config.findLockConfig(String name)
Returns a read-only
ILock configuration for
the given name. |
LockConfig |
LockConfig.getAsReadOnly()
Deprecated.
this method will be removed in 4.0; it is meant for internal usage only
|
LockConfig |
Config.getLockConfig(String name)
Returns the LockConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
LockConfig |
LockConfig.setName(String name)
Sets the name of the lock.
|
LockConfig |
LockConfig.setQuorumName(String quorumName)
Sets the quorum name for lock operations.
|
Modifier and Type | Method and Description |
---|---|
Map<String,LockConfig> |
Config.getLockConfigs()
Returns the map of
ILock configurations,
mapped by config name. |
Modifier and Type | Method and Description |
---|---|
Config |
Config.addLockConfig(LockConfig lockConfig)
Adds the lock configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setLockConfigs(Map<String,LockConfig> lockConfigs)
Sets the map of
ILock configurations,
mapped by config name. |
Constructor and Description |
---|
LockConfig(LockConfig config)
Clones a
LockConfig |
LockConfig(String name,
LockConfig config)
Creates a new
LockConfig by cloning an existing config and overriding the name. |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.