Class TumblingDurationWindowStrategy<T>

  • All Implemented Interfaces:
    WindowStrategy<T>

    public final class TumblingDurationWindowStrategy<T>
    extends BaseWindowStrategy<T>
    This class represents tumbling window strategy based on the window duration from the given slidingCountWindow configuration. In this strategy , window and sliding durations are equal.
    • Constructor Detail

      • TumblingDurationWindowStrategy

        public TumblingDurationWindowStrategy​(WindowConfig tumblingDurationWindow)
    • Method Detail

      • getEvictionPolicy

        public EvictionPolicy<T,​?> getEvictionPolicy()
        Returns an EvictionPolicy instance which evicts elements after given window duration.