|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.store.AbstractStore<K,V,T>
voldemort.store.DelegatingStore<K,V,T>
voldemort.store.versioned.InconsistencyResolvingStore<K,V,T>
public class InconsistencyResolvingStore<K,V,T>
A Store that uses a InconsistencyResolver to eliminate some duplicates.
Constructor Summary | |
---|---|
InconsistencyResolvingStore(Store<K,V,T> innerStore,
InconsistencyResolver<Versioned<V>> resolver)
|
Method Summary | |
---|---|
java.util.List<Versioned<V>> |
get(CompositeVoldemortRequest<K,V> request)
Get the value associated with the given key |
java.util.List<Versioned<V>> |
get(K key,
T transforms)
Get the value associated with the given key |
java.util.Map<K,java.util.List<Versioned<V>>> |
getAll(CompositeVoldemortRequest<K,V> request)
Get the values associated with the given keys and returns them in a Map of keys to a list of versioned values. |
java.util.Map<K,java.util.List<Versioned<V>>> |
getAll(java.lang.Iterable<K> keys,
java.util.Map<K,T> transforms)
Get the values associated with the given keys and returns them in a Map of keys to a list of versioned values. |
java.lang.Object |
getCapability(StoreCapabilityType capability)
Get some capability of the store. |
Methods inherited from class voldemort.store.DelegatingStore |
---|
close, delete, delete, getInnerStore, getVersions, put, put, toString |
Methods inherited from class voldemort.store.AbstractStore |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InconsistencyResolvingStore(Store<K,V,T> innerStore, InconsistencyResolver<Versioned<V>> resolver)
Method Detail |
---|
public java.util.List<Versioned<V>> get(K key, T transforms) throws VoldemortException
Store
get
in interface Store<K,V,T>
get
in class DelegatingStore<K,V,T>
key
- The key to check for
VoldemortException
public java.util.Map<K,java.util.List<Versioned<V>>> getAll(java.lang.Iterable<K> keys, java.util.Map<K,T> transforms) throws VoldemortException
Store
getAll
in interface Store<K,V,T>
getAll
in class DelegatingStore<K,V,T>
keys
- The keys to check for.
VoldemortException
public java.lang.Object getCapability(StoreCapabilityType capability)
Store
getCapability
in interface Store<K,V,T>
getCapability
in class DelegatingStore<K,V,T>
capability
- The capability type to retrieve
public java.util.List<Versioned<V>> get(CompositeVoldemortRequest<K,V> request) throws VoldemortException
Store
get
in interface Store<K,V,T>
get
in class DelegatingStore<K,V,T>
request
- Contains the key to check for and associated transforms
VoldemortException
public java.util.Map<K,java.util.List<Versioned<V>>> getAll(CompositeVoldemortRequest<K,V> request) throws VoldemortException
Store
getAll
in interface Store<K,V,T>
getAll
in class DelegatingStore<K,V,T>
request
- Contains the keys to check for.
VoldemortException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |