T
- Type of changed information about the querypublic abstract class QueryEvent<T> extends LensEvent
Constructor and Description |
---|
QueryEvent(long eventTime,
T prev,
T current,
QueryHandle handle)
Instantiates a new query event.
|
Modifier and Type | Method and Description |
---|---|
T |
getCurrentValue()
The current value.
|
String |
getEventId() |
T |
getPreviousValue()
The previous value.
|
QueryHandle |
getQueryHandle()
The query handle.
|
String |
toString() |
getEventTime
public QueryEvent(long eventTime, T prev, T current, QueryHandle handle)
eventTime
- the event timeprev
- the prevcurrent
- the currenthandle
- the handlepublic String getEventId()
getEventId
in class LensEvent
@Generated(value="lombok") public T getPreviousValue()
@Generated(value="lombok") public T getCurrentValue()
@Generated(value="lombok") public QueryHandle getQueryHandle()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.