java.lang.Object
io.ebeaninternal.server.cache.DefaultServerCache.CacheEntry
- Enclosing class:
DefaultServerCache
Wraps the value to additionally hold createTime and lastAccessTime and hit counter.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CacheEntry
-
-
Method Details
-
forSort
Store a copy of lastAccessTime used for sorting. This value should not change during trim processing. -
getKey
Return the entry key. -
getValue
Return the entry value. -
getCreateTime
public long getCreateTime()Return the time the entry was created. -
getLastAccessTime
public long getLastAccessTime()Return the time the entry was last accessed.
-