public class SimpleCacheStatistics extends java.lang.Object implements CacheStatistics
Constructor and Description |
---|
SimpleCacheStatistics(long size,
long capacity,
long evictions) |
Modifier and Type | Method and Description |
---|---|
long |
getPercentFree()
Gets the percent free capacity remaining in the cache.
|
java.lang.String |
toString(java.lang.StringBuilder builder)
Writes a string representation of cache statistics to the given string builder.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCapacity, getEvictions, getName, getSize
public SimpleCacheStatistics(long size, long capacity, long evictions)
public long getPercentFree()
CacheStatistics
getPercentFree
in interface CacheStatistics
public java.lang.String toString(java.lang.StringBuilder builder)
CacheStatistics
toString
in interface CacheStatistics
builder
- String builder to which string representation is appended.