org.apache.blur.manager.indexserver
Class MasterBasedDistributedLayoutFactory
java.lang.Object
org.apache.blur.manager.indexserver.MasterBasedDistributedLayoutFactory
- All Implemented Interfaces:
- DistributedLayoutFactory
public class MasterBasedDistributedLayoutFactory
- extends Object
- implements DistributedLayoutFactory
MasterBasedDistributedLayoutFactory
public MasterBasedDistributedLayoutFactory(org.apache.zookeeper.ZooKeeper zooKeeper,
String cluster)
readCurrentLayout
public DistributedLayout readCurrentLayout(String table)
- Specified by:
readCurrentLayout
in interface DistributedLayoutFactory
createDistributedLayout
public DistributedLayout createDistributedLayout(String table,
List<String> shardList,
List<String> shardServerList,
List<String> offlineShardServers)
- Specified by:
createDistributedLayout
in interface DistributedLayoutFactory
getLayoutCache
public Map<String,?> getLayoutCache()
- Specified by:
getLayoutCache
in interface DistributedLayoutFactory
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.