org.apache.accumulo.server.master
Class TabletServerLoggers

java.lang.Object
  extended by org.apache.accumulo.server.master.TabletServerLoggers
All Implemented Interfaces:
org.apache.zookeeper.Watcher

public class TabletServerLoggers
extends java.lang.Object
implements org.apache.zookeeper.Watcher


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher
org.apache.zookeeper.Watcher.Event
 
Constructor Summary
TabletServerLoggers(org.apache.accumulo.server.master.TabletServerLoggers.NewLoggerWatcher watcher)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getLoggersFromZooKeeper()
           
 java.util.List<java.lang.String> leastBusyLoggers()
           
 void process(org.apache.zookeeper.WatchedEvent event)
           
 void scanZooKeeperForUpdates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabletServerLoggers

public TabletServerLoggers(org.apache.accumulo.server.master.TabletServerLoggers.NewLoggerWatcher watcher)
Method Detail

getLoggersFromZooKeeper

public java.util.Map<java.lang.String,java.lang.String> getLoggersFromZooKeeper()

scanZooKeeperForUpdates

public void scanZooKeeperForUpdates()

leastBusyLoggers

public java.util.List<java.lang.String> leastBusyLoggers()

process

public void process(org.apache.zookeeper.WatchedEvent event)
Specified by:
process in interface org.apache.zookeeper.Watcher


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.