Class StateWatch<T>

java.lang.Object
io.deephaven.kv.common.StateWatch<T>
Type Parameters:
T - the stateful type

public class StateWatch<T> extends Object
Implements a common pattern for implementing a stateful watch. Involves a delicate setup of requesting the current state, adapting the listener, publishing the initial state, and starting the watch from the appropriate revision.