Package com.illumon.iris.binarystore
Class ExpirationManager.StaticExpiration<T>
java.lang.Object
com.illumon.iris.binarystore.ExpirationManager.StaticExpiration<T>
- All Implemented Interfaces:
ExpirationManager<T>
- Enclosing interface:
- ExpirationManager<T>
public static class ExpirationManager.StaticExpiration<T>
extends Object
implements ExpirationManager<T>
Static value - does not expire.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.binarystore.ExpirationManager
ExpirationManager.StaticExpiration<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.binarystore.ExpirationManager
initialize
-
Constructor Details
-
StaticExpiration
Create a static expiration manager.- Parameters:
value- the value to return fromget(long)
-
-
Method Details
-
get
Description copied from interface:ExpirationManagerGet the value of this ExpirationManager for the given time. It is assumed that times passed in will be monotonically increasing.- Specified by:
getin interfaceExpirationManager<T>- Parameters:
unused- the result of System.currentTimeInMillis.- Returns:
- the value corresponding to the given time
-