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()
           
 
Method Summary
 void addSystemStore(SystemStore newSysStore, java.lang.String storeName)
           
 void createSystemStores(ClientConfig config, java.lang.String clusterXml, FailureDetector fd)
           
 SystemStore<java.lang.String,java.lang.String> getClientRegistryStore()
           
 SystemStore<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()
Method Detail

addSystemStore

public void addSystemStore(SystemStore newSysStore,
                           java.lang.String storeName)

createSystemStores

public void createSystemStores(ClientConfig config,
                               java.lang.String clusterXml,
                               FailureDetector fd)

getClientRegistryStore

public SystemStore<java.lang.String,java.lang.String> getClientRegistryStore()

getMetadataVersionStore

public SystemStore<java.lang.String,java.lang.String> getMetadataVersionStore()


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