org.apache.curator.framework.api
Interface CuratorWatcher


public interface CuratorWatcher

A version of Watcher that can throw an exception


Method Summary
 void process(org.apache.zookeeper.WatchedEvent event)
          Same as Watcher.process(WatchedEvent).
 

Method Detail

process

void process(org.apache.zookeeper.WatchedEvent event)
             throws Exception
Same as Watcher.process(WatchedEvent). If an exception is thrown, Curator will log it

Parameters:
event - the event
Throws:
Exception - any exceptions to log


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.