Class HistoricalUpdate<T extends DynamicHistoryEvent>

java.lang.Object
velox.api.layer1.dynamichistory.updates.HistoricalUpdate<T>
Direct Known Subclasses:
HeavyweightHistoricalUpdate, LightweightHistoricalUpdate

public class HistoricalUpdate<T extends DynamicHistoryEvent> extends Object
  • Field Details

    • events

      public final List<T extends DynamicHistoryEvent> events
    • timeFrom

      public final long timeFrom
      Start time of the data window covered by this update, in nanoseconds (inclusive). This is the timeFrom of the first block included in this update.
    • timeTo

      public final long timeTo
      End time of the data window covered by this update, in nanoseconds (exclusive). This is the timeTo of the last block included in this update.
  • Constructor Details

    • HistoricalUpdate

      public HistoricalUpdate(List<T> events, long timeFrom, long timeTo)