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.
Wraps a cache entry to provide meta information in addition of the entry value.
- Author:
- Tuan Nguyen.
- eXo level API
- Platform
-
Method Summary
Modifier and TypeMethodDescriptionget()Returns the entry value which may be null.longReturns the expiration time of the entry in milli seconds.
-
Method Details
-
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
-