Package org.apache.druid.segment.loading
Class StorageLocation.WeakStats
java.lang.Object
org.apache.druid.segment.loading.StorageLocation.WeakStats
- All Implemented Interfaces:
VirtualStorageLocationStats
- Enclosing class:
- StorageLocation
public static final class StorageLocation.WeakStats
extends Object
implements VirtualStorageLocationStats
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevict(long size) longNumber of bytes removed from the cache during the measurement periodlongNumber of cache entries removed during the measurement periodlongNumber of bytes used by operations on entries which were already present during the measurement periodlongNumber of operations for which an entry was already present during the measurement periodlongNumber of bytes from active holds on cache entries, indicating active usage at the time this measurement collection was created.longNumber of active holds on cache entries, indicating active usage at the time this measurement collection was created.longNumber of bytes loaded for entries missing from the cache during the measurement periodlongNumber of operations for which an entry was missing and was loaded into the cache during the measurement periodlongNumber of operations which could not be loaded due to insufficient space during the measurement periodlonglongCurrent number of bytes stored which are managed as virtual storage at the time this measurement collection was created.hit(long size) load(long size) reject()unmount()
-
Constructor Details
-
WeakStats
-
-
Method Details
-
hit
-
load
-
evict
-
unmount
-
reject
-
getUsedBytes
public long getUsedBytes()Description copied from interface:VirtualStorageLocationStatsCurrent number of bytes stored which are managed as virtual storage at the time this measurement collection was created.- Specified by:
getUsedBytesin interfaceVirtualStorageLocationStats
-
getHoldCount
public long getHoldCount()Description copied from interface:VirtualStorageLocationStatsNumber of active holds on cache entries, indicating active usage at the time this measurement collection was created.- Specified by:
getHoldCountin interfaceVirtualStorageLocationStats
-
getHoldBytes
public long getHoldBytes()Description copied from interface:VirtualStorageLocationStatsNumber of bytes from active holds on cache entries, indicating active usage at the time this measurement collection was created.- Specified by:
getHoldBytesin interfaceVirtualStorageLocationStats
-
getHitCount
public long getHitCount()Description copied from interface:VirtualStorageLocationStatsNumber of operations for which an entry was already present during the measurement period- Specified by:
getHitCountin interfaceVirtualStorageLocationStats
-
getHitBytes
public long getHitBytes()Description copied from interface:VirtualStorageLocationStatsNumber of bytes used by operations on entries which were already present during the measurement period- Specified by:
getHitBytesin interfaceVirtualStorageLocationStats
-
getLoadCount
public long getLoadCount()Description copied from interface:VirtualStorageLocationStatsNumber of operations for which an entry was missing and was loaded into the cache during the measurement period- Specified by:
getLoadCountin interfaceVirtualStorageLocationStats
-
getLoadBytes
public long getLoadBytes()Description copied from interface:VirtualStorageLocationStatsNumber of bytes loaded for entries missing from the cache during the measurement period- Specified by:
getLoadBytesin interfaceVirtualStorageLocationStats
-
getEvictionCount
public long getEvictionCount()Description copied from interface:VirtualStorageLocationStatsNumber of cache entries removed during the measurement period- Specified by:
getEvictionCountin interfaceVirtualStorageLocationStats
-
getEvictionBytes
public long getEvictionBytes()Description copied from interface:VirtualStorageLocationStatsNumber of bytes removed from the cache during the measurement period- Specified by:
getEvictionBytesin interfaceVirtualStorageLocationStats
-
getRejectCount
public long getRejectCount()Description copied from interface:VirtualStorageLocationStatsNumber of operations which could not be loaded due to insufficient space during the measurement period- Specified by:
getRejectCountin interfaceVirtualStorageLocationStats
-
getUnmountCount
public long getUnmountCount()
-