public class SemaphoreConfigReadOnly extends SemaphoreConfig
DEFAULT_ASYNC_BACKUP_COUNT, DEFAULT_SYNC_BACKUP_COUNT| Constructor and Description | 
|---|
SemaphoreConfigReadOnly(SemaphoreConfig config)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
SemaphoreConfig | 
setAsyncBackupCount(int asyncBackupCount)
Deprecated.  
Sets the number of asynchronous backups. 
 | 
SemaphoreConfig | 
setBackupCount(int backupCount)
Deprecated.  
Sets the number of synchronous backups. 
 | 
SemaphoreConfig | 
setInitialPermits(int initialPermits)
Deprecated.  
Sets the initial number of permits. 
 | 
SemaphoreConfig | 
setName(String name)
Deprecated.  
Sets the name of the semaphore. 
 | 
SemaphoreConfig | 
setQuorumName(String quorumName)
Deprecated.  
  | 
equals, getAsReadOnly, getAsyncBackupCount, getBackupCount, getFactoryId, getId, getInitialPermits, getName, getQuorumName, getTotalBackupCount, hashCode, readData, toString, writeDatapublic SemaphoreConfigReadOnly(SemaphoreConfig config)
public SemaphoreConfig setName(String name)
SemaphoreConfigsetName in interface NamedConfigsetName in class SemaphoreConfigname - the name of the semaphorepublic SemaphoreConfig setInitialPermits(int initialPermits)
SemaphoreConfigsetInitialPermits in class SemaphoreConfiginitialPermits - the initial number of permitspublic SemaphoreConfig setBackupCount(int backupCount)
SemaphoreConfigsetBackupCount in class SemaphoreConfigbackupCount - the number of synchronous backups to setSemaphoreConfig.setAsyncBackupCount(int), 
SemaphoreConfig.getBackupCount()public SemaphoreConfig setAsyncBackupCount(int asyncBackupCount)
SemaphoreConfigsetAsyncBackupCount in class SemaphoreConfigasyncBackupCount - the number of asynchronous synchronous backups to setSemaphoreConfig.setBackupCount(int), 
SemaphoreConfig.getAsyncBackupCount()public SemaphoreConfig setQuorumName(String quorumName)
setQuorumName in class SemaphoreConfigCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.