public class KDataCacheMonitoringInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
long |
count
The number of elements in the cache.
|
long |
currentSize
The current size used.
|
long |
hits
The successful retrieval data count.
|
long |
maximumSize
The maximum size of the cache, -1 if unlimited.
|
long |
misses
The number retrieval attempts.
|
Constructor and Description |
---|
KDataCacheMonitoringInfo() |
Modifier and Type | Method and Description |
---|---|
double |
getEfficiency()
This method returns the successful retrieval data count over the number of retrieval attempts.
|
public long currentSize
public long maximumSize
public long hits
public long misses
public long count