| Package | Description |
|---|---|
| me.prettyprint.cassandra.locking | |
| me.prettyprint.hector.api.locking |
| Modifier and Type | Class and Description |
|---|---|
class |
HLockImpl
Default Lock implementation of
HLock |
| Modifier and Type | Method and Description |
|---|---|
HLock |
HLockManagerImpl.createLock(String lockPath) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
HLock |
HLockManager.createLock(String string)
Creates a lock instance to use later on acquire(HLock)
|
| Modifier and Type | Method and Description |
|---|---|
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
|
Copyright © 2014. All Rights Reserved.