public interface EvictionContext
Modifier and Type | Method and Description |
---|---|
Long |
getCurrentCount()
Returns the current count of events in the queue up to the reference time based on which count based evictions can be performed.
|
Long |
getReferenceTime()
Returns the reference time that the eviction policy could use to evict the events.
|
Long |
getSlidingCount()
Returns the sliding count for count based windows.
|
Long |
getSlidingInterval()
Returns the sliding interval for time based windows.
|
Long getReferenceTime()
Long getSlidingCount()
Long getSlidingInterval()
Long getCurrentCount()
Copyright © 2023 The Apache Software Foundation. All rights reserved.