voldemort.client
Class SystemStoreRepository

java.lang.Object
  extended by 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).


Constructor Summary
SystemStoreRepository(ClientConfig clientConfig)
           
 
Method Summary
 void addSystemStore(SystemStoreClient newSysStore, java.lang.String storeName)
           
 void createSystemStores(ClientConfig config, java.lang.String clusterXml, FailureDetector fd)
           
 SystemStoreClient<java.lang.String,java.lang.String> getClientRegistryStore()
           
 SystemStoreClient<java.lang.String,java.lang.String> getMetadataVersionStore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemStoreRepository

public SystemStoreRepository(ClientConfig clientConfig)
Method Detail

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()


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