|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvoldemort.store.DelegatingStore<ByteArray,byte[],byte[]>
voldemort.store.rebalancing.RebootstrappingStore
public class RebootstrappingStore
The RebootstrappingStore catch all InvalidMetadataException and updates the
routed store with latest cluster metadata, client rebootstrapping behavior
same in DefaultStoreClient for server side routing
| Constructor Summary | |
|---|---|
RebootstrappingStore(MetadataStore metadata,
StoreRepository storeRepository,
VoldemortConfig voldemortConfig,
RoutedStore routedStore,
SocketStoreFactory storeFactory)
|
|
| Method Summary | |
|---|---|
boolean |
delete(ByteArray key,
Version version)
Delete all entries prior to the given version |
java.util.List<Versioned<byte[]>> |
get(ByteArray key,
byte[] transforms)
Get the value associated with the given key |
java.util.Map<ByteArray,java.util.List<Versioned<byte[]>>> |
getAll(java.lang.Iterable<ByteArray> keys,
java.util.Map<ByteArray,byte[]> transforms)
Get the values associated with the given keys and returns them in a Map of keys to a list of versioned values. |
java.util.List<Version> |
getVersions(ByteArray key)
|
void |
put(ByteArray key,
Versioned<byte[]> versioned,
byte[] transforms)
Associate the value with the key and version in this store |
| Methods inherited from class voldemort.store.DelegatingStore |
|---|
close, getCapability, getInnerStore, getName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RebootstrappingStore(MetadataStore metadata,
StoreRepository storeRepository,
VoldemortConfig voldemortConfig,
RoutedStore routedStore,
SocketStoreFactory storeFactory)
| Method Detail |
|---|
public boolean delete(ByteArray key,
Version version)
Store
delete in interface Store<ByteArray,byte[],byte[]>delete in class DelegatingStore<ByteArray,byte[],byte[]>key - The key to deleteversion - The current value of the key
public java.util.List<Version> getVersions(ByteArray key)
getVersions in interface Store<ByteArray,byte[],byte[]>getVersions in class DelegatingStore<ByteArray,byte[],byte[]>
public java.util.List<Versioned<byte[]>> get(ByteArray key,
byte[] transforms)
Store
get in interface Store<ByteArray,byte[],byte[]>get in class DelegatingStore<ByteArray,byte[],byte[]>key - The key to check for
public java.util.Map<ByteArray,java.util.List<Versioned<byte[]>>> getAll(java.lang.Iterable<ByteArray> keys,
java.util.Map<ByteArray,byte[]> transforms)
Store
getAll in interface Store<ByteArray,byte[],byte[]>getAll in class DelegatingStore<ByteArray,byte[],byte[]>keys - The keys to check for.
public void put(ByteArray key,
Versioned<byte[]> versioned,
byte[] transforms)
throws ObsoleteVersionException
Store
put in interface Store<ByteArray,byte[],byte[]>put in class DelegatingStore<ByteArray,byte[],byte[]>key - The key to useversioned - The value to store and its version.
ObsoleteVersionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||