voldemort.client
Class SystemStoreRepository
java.lang.Object
voldemort.client.SystemStoreRepository
public class SystemStoreRepository
- extends java.lang.Object
A repository that creates and maintains all the system stores in one place.
The purpose is to act as a source of truth for all the system stores, since
they can be recreated dynamically (in case cluster.xml changes).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemStoreRepository
public SystemStoreRepository(ClientConfig clientConfig)
addSystemStore
public void addSystemStore(SystemStoreClient newSysStore,
java.lang.String storeName)
createSystemStores
public void createSystemStores(ClientConfig config,
java.lang.String clusterXml,
FailureDetector fd)
getClientRegistryStore
public SystemStoreClient<java.lang.String,java.lang.String> getClientRegistryStore()
getMetadataVersionStore
public SystemStoreClient<java.lang.String,java.lang.String> getMetadataVersionStore()
close
public void close()
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu