Uses of Record Class
com.loomcache.server.watch.WatchEvent
Packages that use WatchEvent
-
Uses of WatchEvent in com.loomcache.server.watch
Methods in com.loomcache.server.watch that return types with arguments of type WatchEventModifier and TypeMethodDescriptionWatchManager.getBufferedEvents(long fromRevision) Retrieves all buffered events with revision >= fromRevision.WatchManager.getBufferedEvents(String keyOrPrefix, long fromRevision) Retrieves buffered watch events from a given revision onward.Methods in com.loomcache.server.watch with parameters of type WatchEventModifier and TypeMethodDescriptionvoidWatchManager.notifyWatchers(WatchEvent event) Notify all watchers that a key has been mutated.voidWatchListener.onEvent(WatchEvent event) Called when a watched key or prefix receives a mutation event.Method parameters in com.loomcache.server.watch with type arguments of type WatchEventModifier and TypeMethodDescriptionWatchManager.streamEvents(String prefix, Consumer<WatchEvent> consumer) Start streaming all events matching a prefix to the given consumer.