Class EvictionMetadata<T>

java.lang.Object
com.scaleoutsoftware.collections.timewindowing.EvictionMetadata<T>
Type Parameters:
T - the type of the objects in the collection.

public class EvictionMetadata<T> extends Object
Eviction metadata stores metadata for the result of an eviction routine.
  • Constructor Details

    • EvictionMetadata

      public EvictionMetadata(List<TimeWindow<T>> closedWindows)
      Construct a new eviction metadata instance with a list of closed windows.
      Parameters:
      closedWindows - the closed windows.
  • Method Details

    • getClosedWindows

      public List<TimeWindow<T>> getClosedWindows()
      Retrieves the closed windows.
      Returns:
      the closed windows.
    • getNextWindowStartTimeMs

      public long getNextWindowStartTimeMs()
      Retrieves the next window start time in milliseconds.
      Returns:
      the next window start time in milliseconds.