eu.emi.security.authn.x509.helpers
Class CachedElement<T>
java.lang.Object
eu.emi.security.authn.x509.helpers.CachedElement<T>
public class CachedElement<T>
- extends Object
Cached element is a container of an arbitrary object,
enriched with a creation timestamp.
- Author:
- K. Benedyczak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedElement
public CachedElement(T element)
getCreationTs
public long getCreationTs()
getElement
public T getElement()
isExpired
public boolean isExpired(long ttl)
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.