Package voldemort.store

The Store interface is the primary interface for Voldemort.

See:
          Description

Interface Summary
StorageConfiguration An abstraction that represents the shared resources of a persistence engine.
StorageEngine<K,V,T> A base storage class which is actually responsible for data persistence.
Store<K,V,T> The basic interface used for storage and storage decorators.
StoreRequest<T> A StoreRequest is a wrapper around one of the five existing requests to the Store API.
 

Class Summary
AbstractStorageEngine<K,V,T>  
AbstractStore<K,V,T>  
CompositeDeleteVoldemortRequest<K,V> A class that defines a composite delete request containing the key to delete, corresponding version, timeout, routing type, origin time
CompositeGetAllVoldemortRequest<K,V> A class that defines a composite get all request containing a reference to the iterable keys, a flag to indicate if the conflicts should be resolved and the timeout, routing type and origin time
CompositeGetVersionVoldemortRequest<K,V> A class that defines a composite get version request containing a reference to the key, a flag to indicate if the conflicts should be resolved, the timeout, routing type and origin time
CompositeGetVoldemortRequest<K,V> A class that defines a composite get request containing the key, a flag to indicate whether the conflicts should be resolved, the timeout, routing type and origin time
CompositePutVoldemortRequest<K,V> A class that defines a composite put request containing the key, the value and the timeout
CompositeVersionedPutVoldemortRequest<K,V> A class that defines a composite put request containing the key, the versioned value, the timeout, routing type and origin time
CompositeVoldemortRequest<K,V> A base class for the different types of Voldemort requests containing all the necessary components
DelegatingStore<K,V,T> A Store template that delegates all operations to an inner store.
ErrorCodeMapper Map error codes to exceptions and vice versa
PartitionListIterator Iterator that uses efficient partition scan to iterate across a list of supplied partitions
StoreBinaryFormat  
StoreDefinition The configuration information for a store.
StoreDefinitionBuilder A simple builder class to avoid having 10k constructor parameters in store definitions
StoreUtils Group of store utilities
 

Enum Summary
StoreCapabilityType  
 

Exception Summary
InsufficientOperationalNodesException Thrown if an operation fails due to too few reachable nodes.
InsufficientZoneResponsesException Thrown if an operation fails due to too few reachable nodes.
InvalidMetadataException Store should throw this Exception to indicate that the metadata (Cluster configuration/ Stores Configuration) at client is not in sync with this store metadata.
NoSuchCapabilityException Exception thrown if the user attempts to retrieve a capability that the store does not provide.
PersistenceFailureException Thrown by the StorageEngine if storage fails
StorageInitializationException This exception indicates that the server was unable to initialize on or more storage services or stores within a service.
StoreOperationFailureException Thrown to indicate the failure of some store operation (put, get, delete)
StoreTimeoutException Indicates that the given request for the store timed out.
UnknownFailure When we don't know what the hell happened, call it one of these.
UnreachableStoreException Indicates that the given store cannot be reached (say, due to network failure).
 

Package voldemort.store Description

The Store interface is the primary interface for Voldemort. Stores provide functionality by implementing put, get, and delete from scratch or by decorating existing stores with additional capabilities. Implementations of this interface provide the network i/o layer, the various persistence layers, layers that deal with version conflicts, layers for logging and performance monitoring, etc.



Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu