voldemort.store
Interface StoreRequest<T>

Type Parameters:
T - Type returned by Store request

public interface StoreRequest<T>

A StoreRequest is a wrapper around one of the five existing requests to the Store API. It is useful to provide a sort of function object for various utility methods.

See Also:
NonblockingStoreRequest

Method Summary
 T request(Store<ByteArray,byte[],byte[]> store)
          Perform the request to the given Store.
 

Method Detail

request

T request(Store<ByteArray,byte[],byte[]> store)
          throws VoldemortException
Perform the request to the given Store. It is assumed that the parameters for the call are part of the implementing object internally. They are not provided here.

Parameters:
store - Store on which to invoke the request
Returns:
Value from underlying Store
Throws:
VoldemortException - Thrown on errors invoking the operation on the given Store


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