Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Class and Description |
---|---|
class |
SemaphoreConfigReadOnly
Contains configuration for Semaphore(read only)
|
Modifier and Type | Method and Description |
---|---|
SemaphoreConfig |
Config.findSemaphoreConfig(String name) |
SemaphoreConfig |
Config.getSemaphoreConfig(String name)
Returns the SemaphoreConfig for the given name
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setAsyncBackupCount(int asyncBackupCount) |
SemaphoreConfig |
SemaphoreConfig.setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups.
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setBackupCount(int backupCount) |
SemaphoreConfig |
SemaphoreConfig.setBackupCount(int backupCount)
Sets the number of synchronous backups.
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setInitialPermits(int initialPermits) |
SemaphoreConfig |
SemaphoreConfig.setInitialPermits(int initialPermits)
Sets the initial number of permits.
|
SemaphoreConfig |
SemaphoreConfigReadOnly.setName(String name) |
SemaphoreConfig |
SemaphoreConfig.setName(String name)
Sets the name of the semaphore.
|
Modifier and Type | Method and Description |
---|---|
Collection<SemaphoreConfig> |
Config.getSemaphoreConfigs()
Returns the collection of semaphore configs.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Adds a new SemaphoreConfig by name
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs) |
Constructor and Description |
---|
SemaphoreConfig(SemaphoreConfig config)
Creates a SemaphoreConfig by cloning another one.
|
SemaphoreConfigReadOnly(SemaphoreConfig config) |
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.