com.go.trove.util
Interface Depot.Perishable

Enclosing class:
Depot

public static interface Depot.Perishable

Values returned from the Factories may implement this interface if they manually handle expiration.


Method Summary
 boolean isValid()
          If this Perishable is still valid, but it came from a PerishablesFactory, it may be considered invalid if the valid duration has elapsed.
 

Method Detail

isValid

public boolean isValid()
If this Perishable is still valid, but it came from a PerishablesFactory, it may be considered invalid if the valid duration has elapsed.