Class DynamicHistoryEvent
java.lang.Object
velox.api.layer1.datastructure.events.Event
velox.api.layer1.dynamichistory.events.DynamicHistoryEvent
- All Implemented Interfaces:
Serializable,Cloneable,CloneableSerializable,CustomGeneratedEvent
Base class for events produced from historical (dynamic history) aggregations. Each event corresponds to a
single tree block and carries the time window that block covers.
The window is half-open: [timeFrom, timeTo). The inherited Event.time is set to
timeTo (the block's exclusive end).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longStart of the block's time window, in nanoseconds (inclusive).final longEnd of the block's time window, in nanoseconds (exclusive). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
timeFrom
public final long timeFromStart of the block's time window, in nanoseconds (inclusive). -
timeTo
public final long timeToEnd of the block's time window, in nanoseconds (exclusive).
-
-
Constructor Details
-
DynamicHistoryEvent
public DynamicHistoryEvent(long timeFrom, long timeTo) - Parameters:
timeFrom- start of the block's time window, in nanoseconds (inclusive)timeTo- end of the block's time window, in nanoseconds (exclusive)
-