|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeyLockHandle | |
---|---|
voldemort.store | The Store interface is the primary interface for Voldemort. |
voldemort.store.bdb | A storage engine that persists data in BDB JE. |
voldemort.store.serialized | A store implementation that handles serialization to bytes from rich objects. |
Uses of KeyLockHandle in voldemort.store |
---|
Methods in voldemort.store that return KeyLockHandle | |
---|---|
KeyLockHandle<V> |
StorageEngine.getAndLock(K key)
Returns the list of versions stored for the key, at the same time locking the key for any writes until StorageEngine.putAndUnlock(Object, KeyLockHandle) or
StorageEngine.releaseLock(KeyLockHandle) is called with the same
lock handle. |
KeyLockHandle<V> |
AbstractStorageEngine.getAndLock(K key)
|
Methods in voldemort.store with parameters of type KeyLockHandle | |
---|---|
void |
StorageEngine.putAndUnlock(K key,
KeyLockHandle<V> handle)
Takes the handle issued from a prior StorageEngine.getAndLock(Object) call, and update the key with
the set of values provided in the handle, also releasing the lock held on
the key. |
void |
AbstractStorageEngine.putAndUnlock(K key,
KeyLockHandle<V> handle)
|
void |
StorageEngine.releaseLock(KeyLockHandle<V> handle)
Release any lock held by a prior AbstractStorageEngine.getAndLock(Object) call. |
void |
AbstractStorageEngine.releaseLock(KeyLockHandle<V> handle)
|
Uses of KeyLockHandle in voldemort.store.bdb |
---|
Methods in voldemort.store.bdb that return KeyLockHandle | |
---|---|
KeyLockHandle<byte[]> |
PartitionPrefixedBdbStorageEngine.getAndLock(ByteArray key)
|
KeyLockHandle<byte[]> |
BdbStorageEngine.getAndLock(ByteArray key)
|
Methods in voldemort.store.bdb with parameters of type KeyLockHandle | |
---|---|
void |
PartitionPrefixedBdbStorageEngine.putAndUnlock(ByteArray key,
KeyLockHandle<byte[]> handle)
|
void |
BdbStorageEngine.putAndUnlock(ByteArray key,
KeyLockHandle<byte[]> handle)
|
void |
BdbStorageEngine.releaseLock(KeyLockHandle<byte[]> handle)
|
Uses of KeyLockHandle in voldemort.store.serialized |
---|
Methods in voldemort.store.serialized that return KeyLockHandle | |
---|---|
KeyLockHandle<V> |
SerializingStorageEngine.getAndLock(K key)
|
Methods in voldemort.store.serialized with parameters of type KeyLockHandle | |
---|---|
void |
SerializingStorageEngine.putAndUnlock(K key,
KeyLockHandle<V> handle)
|
void |
SerializingStorageEngine.releaseLock(KeyLockHandle<V> handle)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |