@Singleton @Named(value="semaphore-local") public class LocalSemaphoreNamedLockFactory extends NamedLockFactorySupport
Semaphores.| Modifier and Type | Class and Description |
|---|---|
private static class |
LocalSemaphoreNamedLockFactory.JVMSemaphore
Adapted JVM
Semaphore. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
logger| Constructor and Description |
|---|
LocalSemaphoreNamedLockFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected AdaptedSemaphoreNamedLock |
createLock(java.lang.String name)
Implementations shall create and return
NamedLockSupport for given name, this method must never
return null. |
closeLock, destroyLock, finalize, getLock, shutdownpublic static final java.lang.String NAME
protected AdaptedSemaphoreNamedLock createLock(java.lang.String name)
NamedLockFactorySupportNamedLockSupport for given name, this method must never
return null.createLock in class NamedLockFactorySupport