Class HeapWindowsGrouping

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class HeapWindowsGrouping
    extends WindowsGrouping
    A jvm heap implementation of WindowsGrouping, which uses a linked list to buffer all the inputs of a keyed group belonging to the same window. It is designed to have a capacity limit to avoid JVM OOM and reduce GC pauses.
    • Constructor Detail

      • HeapWindowsGrouping

        public HeapWindowsGrouping​(int maxSizeLimit,
                                   long windowSize,
                                   long slideSize,
                                   int timeIndex,
                                   boolean isDate)
      • HeapWindowsGrouping

        public HeapWindowsGrouping​(int maxSizeLimit,
                                   long offset,
                                   long windowSize,
                                   long slideSize,
                                   int timeIndex,
                                   boolean isDate)