Class DataChangedOperation

All Implemented Interfaces:
WatchedEventProvider, org.apache.zookeeper.Watcher

public class DataChangedOperation extends FutureEventDrivenOperation<byte[]>
DataChangedOperation is an watch driven operation. It will wait for an watched event indicating that the data contained in a given node has changed before optionally retrieving the changed data.
  • Field Details

    • CONSTRUCTOR_ARGS

      protected static final Class[] CONSTRUCTOR_ARGS
  • Constructor Details

    • DataChangedOperation

      public DataChangedOperation(org.apache.zookeeper.ZooKeeper connection, String znode, boolean getChangedData)
    • DataChangedOperation

      public DataChangedOperation(org.apache.zookeeper.ZooKeeper connection, String znode, boolean getChangedData, boolean sendEmptyMessageOnDelete)
  • Method Details