public class DistributedSemaphoreConfig extends PrimitiveConfig<DistributedSemaphoreConfig>
| Constructor and Description |
|---|
DistributedSemaphoreConfig() |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
getType()
Returns the type name.
|
int |
initialCapacity() |
DistributedSemaphoreConfig |
setInitialCapacity(int permits)
Initialize this semaphore with the given permit count.
|
getName, getNamespaceConfig, getProtocolConfig, isReadOnly, setName, setNamespaceConfig, setProtocolConfig, setReadOnly, setReadOnlypublic PrimitiveType getType()
TypedConfigpublic DistributedSemaphoreConfig setInitialCapacity(int permits)
permits - initial permitspublic int initialCapacity()
Copyright © 2013–2018. All rights reserved.