Interface DiskUsageReader

    • 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)