| Package | Description | 
|---|---|
| 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. | 
| Constructor and Description | 
|---|
| SemaphoreContainer(int partitionId,
                  SemaphoreConfig config) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SemaphoreConfigReadOnlyDeprecated. 
 this class will be removed in 3.8; it is meant for internal usage 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)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. | 
| 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)Deprecated.  | 
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.