@Singleton @Named(value="semaphore-local") public class LocalSemaphoreNamedLockFactory extends NamedLockFactorySupport
Semaphores.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
logger| Constructor and Description |
|---|
LocalSemaphoreNamedLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected AdaptedSemaphoreNamedLock |
createLock(String name)
Implementations shall create and return
NamedLockSupport for given name, this method must never
return null. |
closeLock, destroyLock, finalize, getLock, shutdownpublic static final String NAME
public LocalSemaphoreNamedLockFactory()
protected AdaptedSemaphoreNamedLock createLock(String name)
NamedLockFactorySupportNamedLockSupport for given name, this method must never
return null.createLock in class NamedLockFactorySupportCopyright © 2010–2021 The Apache Software Foundation. All rights reserved.