public static class CacheUtil.CachingCounters
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
long |
alreadyCachedBytes
The number of bytes already in the cache.
|
long |
contentLength
The length of the content being cached in bytes, or
C.LENGTH_UNSET if unknown. |
long |
newlyCachedBytes
The number of newly cached bytes.
|
| Constructor and Description |
|---|
CachingCounters() |
| Modifier and Type | Method and Description |
|---|---|
long |
totalCachedBytes()
Returns the sum of
alreadyCachedBytes and newlyCachedBytes. |
public volatile long alreadyCachedBytes
public volatile long newlyCachedBytes
public volatile long contentLength
C.LENGTH_UNSET if unknown.public long totalCachedBytes()
alreadyCachedBytes and newlyCachedBytes.