Package org.exoplatform.services.cache
Interface ObjectCacheInfo<V>
-
- Type Parameters:
V- the value type
public interface ObjectCacheInfo<V>Created by The eXo Platform SAS
Wraps a cache entry to provide meta information in addition of the entry value.- Author:
- Tuan Nguyen.
- eXo level API
- Platform
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vget()Returns the entry value which may be null.longgetExpireTime()Returns the expiration time of the entry in milli seconds.
-
-
-
Method Detail
-
getExpireTime
long getExpireTime()
Returns the expiration time of the entry in milli seconds.- Returns:
- the expiration time
-
get
V get()
Returns the entry value which may be null.- Returns:
- the entry value
-
-