org.apache.blur.zookeeper
Class WatchChildren

java.lang.Object
  extended by org.apache.blur.zookeeper.WatchChildren
All Implemented Interfaces:
Closeable

public class WatchChildren
extends Object
implements Closeable


Nested Class Summary
static class WatchChildren.OnChange
           
 
Constructor Summary
WatchChildren(org.apache.zookeeper.ZooKeeper zooKeeper, String path)
           
 
Method Summary
 void close()
           
 WatchChildren watch(WatchChildren.OnChange onChange)
           
 WatchChildren watch(WatchChildren.OnChange onChange, long fireAnywayTime, java.util.concurrent.TimeUnit timeUnit)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatchChildren

public WatchChildren(org.apache.zookeeper.ZooKeeper zooKeeper,
                     String path)
Method Detail

watch

public WatchChildren watch(WatchChildren.OnChange onChange)

watch

public WatchChildren watch(WatchChildren.OnChange onChange,
                           long fireAnywayTime,
                           java.util.concurrent.TimeUnit timeUnit)

close

public void close()
Specified by:
close in interface Closeable


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