Interface ExpiryStrategy<T>


public interface ExpiryStrategy<T>
Strategy pattern for determining when elements added to a ConcurrentRollingBloomFilter should expire.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Determines the expiration time for the given element.
  • Method Details

    • expiryTime

      long expiryTime(T it)
      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.