Interface WatchableBase<T>

All Known Subinterfaces:
ACLableExistBuilderMain, AddWatchBuilder, AddWatchBuilder2, AsyncWatchBuilder, AsyncWatchBuilder2, ExistsBuilder, ExistsBuilderMain, GetChildrenBuilder, GetConfigBuilder, GetDataBuilder, GetDataWatchBackgroundStatable, Watchable<T>, WatchBackgroundEnsembleable<T>, WatchPathable<T>
All Known Implementing Classes:
AddWatchBuilderImpl, ExistsBuilderImpl, GetChildrenBuilderImpl, GetConfigBuilderImpl, GetDataBuilderImpl

public interface WatchableBase<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    Set a watcher for the operation
    usingWatcher(org.apache.zookeeper.Watcher watcher)
    Set a watcher for the operation
  • Method Details

    • usingWatcher

      T usingWatcher(org.apache.zookeeper.Watcher watcher)
      Set a watcher for the operation
      Parameters:
      watcher - the watcher
      Returns:
      this
    • usingWatcher

      T usingWatcher(CuratorWatcher watcher)
      Set a watcher for the operation
      Parameters:
      watcher - the watcher
      Returns:
      this