Package org.epics.archiverappliance.etl
Interface StorageMetrics
- All Known Implementing Classes:
MergeDedupStoragePlugin,PlainStoragePlugin
public interface StorageMetrics
Interface providing details for the storage metrics pages...
- Author:
- mshankar
-
Method Summary
Modifier and TypeMethodDescriptiongetName()The name is also used to identify the storage in the storage report.longgetTotalSpace(StorageMetricsContext storageMetricsContext) Gets the total space left on this device.longgetUsableSpace(StorageMetricsContext storageMetricsContext) Gets the space available to this VM on this devicelongspaceConsumedByPV(String pvName) Gets an estimate of the space consumed by this PV on this device.
-
Method Details
-
getName
String getName()The name is also used to identify the storage in the storage report. This method is shared with the StoragePlugin interface.- Returns:
- name The name of stroage
-
getTotalSpace
Gets the total space left on this device.- Parameters:
storageMetricsContext- StorageMetricsContext- Returns:
- getTotalSpac
- Throws:
IOException-
-
getUsableSpace
Gets the space available to this VM on this device- Parameters:
storageMetricsContext- StorageMetricsContext- Returns:
- getUsableSpace
- Throws:
IOException-
-
spaceConsumedByPV
Gets an estimate of the space consumed by this PV on this device.- Parameters:
pvName- The name of PV.- Returns:
- spaceConsumedByPV
- Throws:
IOException-
-