Package org.forgerock.bloomfilter
Interface ExpiryStrategy<T>
public interface ExpiryStrategy<T>
Strategy pattern for determining when elements added to a
ConcurrentRollingBloomFilter should expire.-
Method Summary
Modifier and TypeMethodDescriptionlongexpiryTime(T it) Determines the expiration time for the given element.
-
Method Details
-
expiryTime
Determines the expiration time for the given element.- Parameters:
it- the element to determine the expiration time for.- Returns:
- the expiration time, as milliseconds from the UTC epoch.
-