Package | Description |
---|---|
com.hazelcast.config.cp |
This package contains configuration classes
for the
CPSubsystem |
Modifier and Type | Method and Description |
---|---|
SemaphoreConfig |
CPSubsystemConfig.findSemaphoreConfig(String name)
Returns the CP
ISemaphore configuration for the given name. |
SemaphoreConfig |
SemaphoreConfig.setInitialPermits(int initialPermits)
Sets initial permit count of the Semaphore
|
SemaphoreConfig |
SemaphoreConfig.setJDKCompatible(boolean jdkCompatible)
Sets JDK compatibility mode of CP ISemaphore
|
SemaphoreConfig |
SemaphoreConfig.setName(String name)
Sets the name of CP ISemaphore
|
Modifier and Type | Method and Description |
---|---|
Map<String,SemaphoreConfig> |
CPSubsystemConfig.getSemaphoreConfigs()
Returns the map of CP
ISemaphore configurations |
Modifier and Type | Method and Description |
---|---|
CPSubsystemConfig |
CPSubsystemConfig.addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Adds the CP
ISemaphore configuration. |
Modifier and Type | Method and Description |
---|---|
CPSubsystemConfig |
CPSubsystemConfig.setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs)
Sets the map of CP
ISemaphore configurations,
mapped by config name. |
Copyright © 2020 Hazelcast, Inc.. All rights reserved.