Uses of Class
com.hazelcast.config.cp.SemaphoreConfig
Package | Description |
---|---|
com.hazelcast.config.cp |
This package contains configuration classes
for the
CPSubsystem |
-
Uses of SemaphoreConfig in com.hazelcast.config.cp
Methods in com.hazelcast.config.cp that return SemaphoreConfig Modifier and Type Method Description SemaphoreConfig
CPSubsystemConfig. findSemaphoreConfig(String name)
Returns the CPISemaphore
configuration for the given name.SemaphoreConfig
SemaphoreConfig. setInitialPermits(int initialPermits)
Sets initial permit count of the SemaphoreSemaphoreConfig
SemaphoreConfig. setJDKCompatible(boolean jdkCompatible)
Sets JDK compatibility mode of CP ISemaphoreSemaphoreConfig
SemaphoreConfig. setName(String name)
Sets the name of CP ISemaphoreMethods in com.hazelcast.config.cp that return types with arguments of type SemaphoreConfig Modifier and Type Method Description Map<String,SemaphoreConfig>
CPSubsystemConfig. getSemaphoreConfigs()
Returns the map of CPISemaphore
configurationsMethods in com.hazelcast.config.cp with parameters of type SemaphoreConfig Modifier and Type Method Description CPSubsystemConfig
CPSubsystemConfig. addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Adds the CPISemaphore
configuration.Method parameters in com.hazelcast.config.cp with type arguments of type SemaphoreConfig Modifier and Type Method Description CPSubsystemConfig
CPSubsystemConfig. setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs)
Sets the map of CPISemaphore
configurations, mapped by config name.