voldemort.client
Class SystemStoreClient<K,V>
java.lang.Object
voldemort.client.SystemStoreClient<K,V>
- Type Parameters:
K
- Type of KeyV
- Type of Value
public class SystemStoreClient<K,V>
- extends java.lang.Object
A client interface for interacting with System stores (managed by the
cluster). The naming convention is kept consistent with SocketStore (which is
also a client interface).
- Author:
- csoman
Constructor Summary |
SystemStoreClient(java.lang.String storeName,
Store<K,V,java.lang.Object> systemStore)
Constructor that creates a system store client which can be used to
interact with the system stores managed by the cluster |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemStoreClient
public SystemStoreClient(java.lang.String storeName,
Store<K,V,java.lang.Object> systemStore)
- Constructor that creates a system store client which can be used to
interact with the system stores managed by the cluster
- Parameters:
storeName
- Name of the system storesystemStore
- The socket store used to interact with the system
stores on the individual server nodes
putSysStore
public Version putSysStore(K key,
V value)
putSysStore
public Version putSysStore(K key,
Versioned<V> value)
deleteSysStore
public boolean deleteSysStore(K key)
getSysStore
public Versioned<V> getSysStore(K key)
getValueSysStore
public V getValueSysStore(K key)
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu