Interface DiskUsageReader
-
- All Known Subinterfaces:
CompositeDiskUsageStoreReader
,DiskUsageStore
- All Known Implementing Classes:
DiskUsageStoreProviderImpl.CompositeDiskUsageStoreReaderImpl
,DiskUsageStoreProviderImpl.DiskUsageStoreImpl
public interface DiskUsageReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiskUsageData
getCurrentDiskUsage()
long
getPinnedBuildsArtifactsSize()
long
getPinnedBuildsLogsSize()
boolean
hasData()
-
-
-
Method Detail
-
getCurrentDiskUsage
@Nullable DiskUsageData getCurrentDiskUsage()
- Returns:
- current disk usage for current holder or null if no data stored
-
getPinnedBuildsArtifactsSize
long getPinnedBuildsArtifactsSize()
- Returns:
- sum of artifacts size in pinned builds (both internal and external)
-
getPinnedBuildsLogsSize
long getPinnedBuildsLogsSize()
- Returns:
- sum of logs size in pinned builds
-
hasData
boolean hasData()
- Returns:
- true if any data is stored (data could be not validated)
-
-