Package org.apache.curator.framework.api
Interface CuratorWatcher
- All Known Implementing Classes:
EnsembleTracker
public interface CuratorWatcher
A version of
Watcher
that can throw an exception-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(org.apache.zookeeper.WatchedEvent event) Same asWatcher.process(WatchedEvent)
.
-
Method Details
-
process
Same asWatcher.process(WatchedEvent)
. If an exception is thrown, Curator will log it- Parameters:
event
- the event- Throws:
Exception
- any exceptions to log
-