|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use HLock | |
|---|---|
| me.prettyprint.cassandra.locking | |
| me.prettyprint.hector.api.locking | |
| Uses of HLock in me.prettyprint.cassandra.locking |
|---|
| Classes in me.prettyprint.cassandra.locking that implement HLock | |
|---|---|
class |
HLockImpl
Default Lock implementation of HLock |
| Methods in me.prettyprint.cassandra.locking that return HLock | |
|---|---|
HLock |
HLockManagerImpl.createLock(String lockPath)
|
| Methods in me.prettyprint.cassandra.locking with parameters of type HLock | |
|---|---|
void |
HLockManagerImpl.acquire(HLock lock)
|
void |
HLockManagerImpl.acquire(HLock lock,
long timeout)
Acquires a lock represented by lock.getPath and filling up the lockId with a unique client/caller lock id. |
void |
HLockManagerImpl.release(HLock lock)
|
| Uses of HLock in me.prettyprint.hector.api.locking |
|---|
| Methods in me.prettyprint.hector.api.locking that return HLock | |
|---|---|
HLock |
HLockManager.createLock(String string)
Creates a lock instance to use later on acquire(HLock) |
| Methods in me.prettyprint.hector.api.locking with parameters of type HLock | |
|---|---|
void |
HLockManager.acquire(HLock lock)
Acquires a lock represented by lock.getPath and filling up the lockId with a unique client/caller lock id. |
void |
HLockManager.acquire(HLock lock,
long timeout)
Acquires a lock represented by lock.getPath and filling up the lockId with a unique client/caller lock id. |
void |
HLockObserver.acquired(HLock lock)
The lock is acquired |
void |
HLockObserver.disconnected(HLock lock)
The lock was lost/disconnected. |
void |
HLockObserver.release(HLock lock)
The lock is released |
void |
HLockManager.release(HLock lock)
Releases the lock |
void |
HLockObserver.timeout(HLock lock)
We timed out waiting for the lock |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||