voldemort.client
Class SystemStoreClientFactory<K,V>

java.lang.Object
  extended by voldemort.client.SystemStoreClientFactory<K,V>
Type Parameters:
K - Key serializer for the system store
V - 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.


Constructor Summary
SystemStoreClientFactory(ClientConfig clientConfig)
           
 
Method Summary
 void close()
           
 SystemStoreClient<K,V> createSystemStore(java.lang.String storeName)
           
 SystemStoreClient<K,V> createSystemStore(java.lang.String storeName, java.lang.String clusterXml, FailureDetector fd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemStoreClientFactory

public SystemStoreClientFactory(ClientConfig clientConfig)
Method Detail

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