public class NonLockingLockRepository extends LockRepository implements ShutdownListener
synchronizationObjects| Constructor and Description |
|---|
NonLockingLockRepository() |
NonLockingLockRepository(ShutdownService shutdownService) |
| Modifier and Type | Method and Description |
|---|---|
Lock |
createLock(String lockName) |
void |
leaderElection(String lockName,
LeaderListener listener) |
void |
shutdown() |
getSynchronizationObject, lock, lockpublic NonLockingLockRepository()
@Inject public NonLockingLockRepository(ShutdownService shutdownService)
public Lock createLock(String lockName)
createLock in class LockRepositorypublic void leaderElection(String lockName, LeaderListener listener)
leaderElection in class LockRepositorypublic void shutdown()
shutdown in interface ShutdownListenerCopyright © 2013–2017 V5 Analytics. All rights reserved.