Package org.apache.druid.segment.loading
Class StorageStats
java.lang.Object
org.apache.druid.segment.loading.StorageStats
Collection of
StorageLocationStats and VirtualStorageLocationStats for all storage locations within
a SegmentCacheManager so that SegmentCacheManager.getStorageStats() can be used by
StorageMonitor to track segment cache activity.
Note that the stats are not tied explicitly to the StorageLocation implementation used by
SegmentLocalCacheManager, but it does implement this stuff.
-
Constructor Summary
ConstructorsConstructorDescriptionStorageStats(Map<String, StorageLocationStats> stats, Map<String, VirtualStorageLocationStats> virtualStats) -
Method Summary
Modifier and TypeMethodDescriptionMap of location label (such as file path) toStorageLocationStatsMap of location label (such as file path) toVirtualStorageLocationStats
-
Constructor Details
-
StorageStats
public StorageStats(Map<String, StorageLocationStats> stats, Map<String, VirtualStorageLocationStats> virtualStats)
-
-
Method Details
-
getLocationStats
Map of location label (such as file path) toStorageLocationStats -
getVirtualLocationStats
Map of location label (such as file path) toVirtualStorageLocationStats
-