Class DebugCacheStatistics.CacheEntry.CacheEntryBuilder
java.lang.Object
com.foreach.across.modules.debugweb.events.DebugCacheStatistics.CacheEntry.CacheEntryBuilder
- Enclosing class:
- DebugCacheStatistics.CacheEntry
-
Method Summary
Modifier and TypeMethodDescriptionHow long this item has been in the cache.build()
Successful cache requests for this item.Key of the cache entry.lastAccessed
(Duration lastAccessed) How long ago this item was last accessed.toString()
Value of the cache entry.
-
Method Details
-
key
Key of the cache entry.- Returns:
this
.
-
value
Value of the cache entry. Anull
value means the value cannot be resolved, whereas anOptional.empty()
value means the stored value isnull
.- Returns:
this
.
-
age
How long this item has been in the cache.- Returns:
this
.
-
lastAccessed
How long ago this item was last accessed.- Returns:
this
.
-
hits
Successful cache requests for this item.- Returns:
this
.
-
build
-
toString
-