Example usage for Java org.apache.commons.collections4.map PassiveExpiringMap fields, constructors, methods, implement or subclass
The text is from its open source code.
PassiveExpiringMap(final ExpirationPolicy Construct a map decorator that decorates the given map and uses the given expiration policy to determine expiration times. | |
PassiveExpiringMap(final long timeToLiveMillis, final Map Construct a map decorator using the given time-to-live value measured in milliseconds to create and use a ConstantTimeToLiveExpirationPolicy expiration policy. | |
PassiveExpiringMap(final long timeToLive, final TimeUnit timeUnit) Construct a map decorator using the given time-to-live value measured in the given time units of measure to create and use a ConstantTimeToLiveExpirationPolicy expiration policy. | |
PassiveExpiringMap(final ExpirationPolicy Construct a map decorator using the given expiration policy to determine expiration times. | |
PassiveExpiringMap(final long timeToLiveMillis) Construct a map decorator that decorates the given map using the given time-to-live value measured in milliseconds to create and use a ConstantTimeToLiveExpirationPolicy expiration policy. | |
PassiveExpiringMap(final Map Constructs a map decorator that decorates the given map and results in entries NEVER expiring. |
void | clear() Normal Map#clear() behavior with the addition of clearing all expiration entries as well. |