public interface Stats
Modifier and Type | Method and Description |
---|---|
long |
getAverageReadTime() |
long |
getAverageReadTimeNanos() |
long |
getAverageRemoveTime() |
long |
getAverageRemoveTimeNanos() |
long |
getAverageWriteTime() |
long |
getAverageWriteTimeNanos() |
int |
getCurrentNumberOfEntries()
Returns the number of entries currently in this cache instance.
|
int |
getCurrentNumberOfEntriesInMemory()
The same as
getCurrentNumberOfEntries() , however passivated entries are not included. |
long |
getDataMemoryUsed()
Provides how much memory the current eviction algorithm estimates is in use for data.
|
long |
getEvictions() |
long |
getHits() |
long |
getMisses() |
long |
getOffHeapMemoryUsed()
The amount of off-heap memory used by this cache
|
long |
getRemoveHits() |
long |
getRemoveMisses() |
int |
getRequiredMinimumNumberOfNodes() |
long |
getRetrievals() |
long |
getStores() |
long |
getTimeSinceReset() |
long |
getTimeSinceStart() |
long |
getTotalNumberOfEntries()
Number of entries stored in cache since the cache started running.
|
void |
reset()
Reset statistics
|
void |
setStatisticsEnabled(boolean enabled)
Enables or disables statistics at runtime.
|
long getTimeSinceStart()
long getTimeSinceReset()
int getCurrentNumberOfEntries()
int getCurrentNumberOfEntriesInMemory()
getCurrentNumberOfEntries()
, however passivated entries are not included.long getTotalNumberOfEntries()
long getOffHeapMemoryUsed()
long getDataMemoryUsed()
long getStores()
long getRetrievals()
long getHits()
long getMisses()
long getRemoveHits()
long getRemoveMisses()
long getEvictions()
long getAverageReadTime()
long getAverageReadTimeNanos()
long getAverageWriteTime()
long getAverageWriteTimeNanos()
long getAverageRemoveTime()
long getAverageRemoveTimeNanos()
int getRequiredMinimumNumberOfNodes()
void reset()
void setStatisticsEnabled(boolean enabled)
enabled
- boolean indicating whether statistics should be enable or notCopyright © 2021 JBoss by Red Hat. All rights reserved.