Class EvictionMetadata<T>
java.lang.Object
com.scaleoutsoftware.collections.timewindowing.EvictionMetadata<T>
- Type Parameters:
T- the type of the objects in the collection.
Eviction metadata stores metadata for the result of an eviction routine.
-
Constructor Summary
ConstructorsConstructorDescriptionEvictionMetadata(List<TimeWindow<T>> closedWindows) Construct a new eviction metadata instance with a list of closed windows. -
Method Summary
Modifier and TypeMethodDescriptionList<TimeWindow<T>> Retrieves the closed windows.longRetrieves the next window start time in milliseconds.
-
Constructor Details
-
EvictionMetadata
Construct a new eviction metadata instance with a list of closed windows.- Parameters:
closedWindows- the closed windows.
-
-
Method Details
-
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.
-