Class WatchKey

java.lang.Object
io.deephaven.kv.WatchKey

public final class WatchKey extends Object
An immutable key path watch key - used to request a watch WatchClient.watch(WatchKey, Listener).

A revision indicates that the caller wants to receive all updates since the given revision.

A null revision indicates that the caller only wants to receive new updates.

  • Constructor Details

    • WatchKey

      public WatchKey(@NotNull @NotNull KeyPath path)
    • WatchKey

      public WatchKey(@NotNull @NotNull KeyPath path, Long revision)
  • Method Details