org.apache.accumulo.server.master
Class TabletServerLoggers
java.lang.Object
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 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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabletServerLoggers
public TabletServerLoggers(org.apache.accumulo.server.master.TabletServerLoggers.NewLoggerWatcher watcher)
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.