@MXBean public interface CacheOccupationMXBean
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all elements from the cache..
|
long |
getEstimatedMemorySizeInBytes()
Returns the estimated memory size of all elements in the cache in bytes.
|
long |
getEstimatedMemorySizeInBytesAtMaximum()
Returns the maximum estimated memory size of all elements in the cache in bytes the cache can
store.
|
long |
getNumberOfElements()
Returns the number of elements in the cache.
|
long |
getNumberOfElementsAtMaximum()
Returns the maximum number of elements the cache can store.
|
void clear()
long getNumberOfElements()
long getNumberOfElementsAtMaximum()
long getEstimatedMemorySizeInBytes()
long getEstimatedMemorySizeInBytesAtMaximum()
Copyright © 2024 levigo holding gmbh. All rights reserved.