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