Package | Description |
---|---|
com.hazelcast.client.impl.clientside |
Contains most of the client side HazelcastInstance implementation functionality.
|
com.hazelcast.concurrent.semaphore |
This package contains ISemaphore functionality for Hazelcast.
The ISemaphore is the distributed version of the Semaphore . |
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.internal.dynamicconfig |
Classes related to Dynamic Configuration.
|
Modifier and Type | Method and Description |
---|---|
SemaphoreConfig |
ClientDynamicClusterConfig.findSemaphoreConfig(String name) |
SemaphoreConfig |
ClientDynamicClusterConfig.getSemaphoreConfig(String name) |
Modifier and Type | Method and Description |
---|---|
Collection<SemaphoreConfig> |
ClientDynamicClusterConfig.getSemaphoreConfigs() |
Map<String,SemaphoreConfig> |
ClientDynamicClusterConfig.getSemaphoreConfigsAsMap() |
Modifier and Type | Method and Description |
---|---|
Config |
ClientDynamicClusterConfig.addSemaphoreConfig(SemaphoreConfig semaphoreConfig) |
Modifier and Type | Method and Description |
---|---|
Config |
ClientDynamicClusterConfig.setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs) |
Constructor and Description |
---|
SemaphoreContainer(int partitionId,
SemaphoreConfig config) |
Modifier and Type | Class and Description |
---|---|
class |
SemaphoreConfigReadOnly
Deprecated.
this class will be removed in 4.0; it is meant for internal usage only.
|
Modifier and Type | Method and Description |
---|---|
SemaphoreConfig |
Config.findSemaphoreConfig(String name)
Returns a read-only
ISemaphore
configuration for the given name. |
SemaphoreConfig |
Config.getSemaphoreConfig(String name)
Returns the SemaphoreConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setAsyncBackupCount(int asyncBackupCount)
Deprecated.
|
SemaphoreConfig |
SemaphoreConfig.setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups.
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setBackupCount(int backupCount)
Deprecated.
|
SemaphoreConfig |
SemaphoreConfig.setBackupCount(int backupCount)
Sets the number of synchronous backups.
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setInitialPermits(int initialPermits)
Deprecated.
|
SemaphoreConfig |
SemaphoreConfig.setInitialPermits(int initialPermits)
Sets the initial number of permits.
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setName(String name)
Deprecated.
|
SemaphoreConfig |
SemaphoreConfig.setName(String name)
Sets the name of the semaphore.
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setQuorumName(String quorumName)
Deprecated.
|
SemaphoreConfig |
SemaphoreConfig.setQuorumName(String quorumName) |
Modifier and Type | Method and Description |
---|---|
Collection<SemaphoreConfig> |
Config.getSemaphoreConfigs()
Returns the collection of
ISemaphore configs
added to this config object. |
Map<String,SemaphoreConfig> |
Config.getSemaphoreConfigsAsMap()
Returns the map of
ISemaphore configurations,
mapped by config name. |
Modifier and Type | Method and Description |
---|---|
Config |
Config.addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Adds the
ISemaphore configuration. |
Modifier and Type | Method and Description |
---|---|
Config |
Config.setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs)
Sets the map of semaphore configurations, mapped by config name.
|
Constructor and Description |
---|
SemaphoreConfig(SemaphoreConfig config)
Creates a SemaphoreConfig by cloning another one.
|
SemaphoreConfigReadOnly(SemaphoreConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SemaphoreConfig |
DynamicConfigurationAwareConfig.findSemaphoreConfig(String name) |
SemaphoreConfig |
ClusterWideConfigurationService.findSemaphoreConfig(String name) |
SemaphoreConfig |
ConfigurationService.findSemaphoreConfig(String name)
Finds existing Semaphore config.
|
SemaphoreConfig |
DynamicConfigurationAwareConfig.getSemaphoreConfig(String name) |
Modifier and Type | Method and Description |
---|---|
Collection<SemaphoreConfig> |
DynamicConfigurationAwareConfig.getSemaphoreConfigs() |
ConcurrentMap<String,SemaphoreConfig> |
ClusterWideConfigurationService.getSemaphoreConfigs() |
Map<String,SemaphoreConfig> |
ConfigurationService.getSemaphoreConfigs()
Returns all registered semaphore configurations.
|
Map<String,SemaphoreConfig> |
DynamicConfigurationAwareConfig.getSemaphoreConfigsAsMap() |
Modifier and Type | Method and Description |
---|---|
Config |
DynamicConfigurationAwareConfig.addSemaphoreConfig(SemaphoreConfig semaphoreConfig) |
Modifier and Type | Method and Description |
---|---|
Config |
DynamicConfigurationAwareConfig.setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs) |
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.