Package io.etcd.jetcd.watch
Class WatchEvent
- java.lang.Object
-
- io.etcd.jetcd.watch.WatchEvent
-
public class WatchEvent extends java.lang.ObjectWatch event, return by watch, contain put, delete event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatchEvent.EventType
-
Constructor Summary
Constructors Constructor Description WatchEvent(KeyValue keyValue, KeyValue prevKV, WatchEvent.EventType eventType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WatchEvent.EventTypegetEventType()KeyValuegetKeyValue()KeyValuegetPrevKV()
-
-
-
Constructor Detail
-
WatchEvent
public WatchEvent(KeyValue keyValue, KeyValue prevKV, WatchEvent.EventType eventType)
-
-
Method Detail
-
getKeyValue
public KeyValue getKeyValue()
-
getPrevKV
public KeyValue getPrevKV()
-
getEventType
public WatchEvent.EventType getEventType()
-
-