org.apache.blur.manager.indexserver
Class MasterBasedDistributedLayoutFactory

java.lang.Object
  extended by org.apache.blur.manager.indexserver.MasterBasedDistributedLayoutFactory
All Implemented Interfaces:
DistributedLayoutFactory

public class MasterBasedDistributedLayoutFactory
extends Object
implements DistributedLayoutFactory


Constructor Summary
MasterBasedDistributedLayoutFactory(org.apache.zookeeper.ZooKeeper zooKeeper, String cluster)
           
 
Method Summary
 DistributedLayout createDistributedLayout(String table, List<String> shardList, List<String> shardServerList, List<String> offlineShardServers)
           
 Map<String,?> getLayoutCache()
           
 DistributedLayout readCurrentLayout(String table)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterBasedDistributedLayoutFactory

public MasterBasedDistributedLayoutFactory(org.apache.zookeeper.ZooKeeper zooKeeper,
                                           String cluster)
Method Detail

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.