voldemort.client
Class SystemStoreClientFactory<K,V>
java.lang.Object
voldemort.client.SystemStoreClientFactory<K,V>
- Type Parameters:
K
- Key serializer for the system storeV
- Value serializer for the system store
public class SystemStoreClientFactory<K,V>
- extends java.lang.Object
Helper Factory to create System Stores. These are used to interact with the
metadata stores managed by the cluster.
It acts as a centralized way of specifying the config for the System Store.
It also limits the #selectors to 1 for conserving network resources.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemStoreClientFactory
public SystemStoreClientFactory(ClientConfig clientConfig)
createSystemStore
public SystemStoreClient<K,V> createSystemStore(java.lang.String storeName,
java.lang.String clusterXml,
FailureDetector fd)
createSystemStore
public SystemStoreClient<K,V> createSystemStore(java.lang.String storeName)
close
public void close()
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu