Class DiskUsageProperty

    • Field Detail

      • LOGGER

        public static final Logger LOGGER
    • Constructor Detail

      • DiskUsageProperty

        public DiskUsageProperty()
    • Method Detail

      • setDiskUsageWithoutBuilds

        public void setDiskUsageWithoutBuilds​(Long diskUsageWithoutBuilds)
      • remove

        public void remove​(Node node,
                           String path)
      • getDiskUsageOfBuild

        public Long getDiskUsageOfBuild​(String buildId)
      • getAllDiskUsageOfBuild

        public Long getAllDiskUsageOfBuild​(String buildId)
      • getAllDiskUsageOfBuild

        public Long getAllDiskUsageOfBuild​(int buildNumber)
      • getDiskUsageOfBuild

        public Long getDiskUsageOfBuild​(int buildNumber)
      • putSlaveWorkspace

        @Deprecated(forRemoval=true)
        public void putSlaveWorkspace​(Node node,
                                      String path)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • putAgentWorkspace

        public void putAgentWorkspace​(Node node,
                                      String path)
      • putSlaveWorkspaceSize

        @Deprecated(forRemoval=true)
        public void putSlaveWorkspaceSize​(Node node,
                                          String path,
                                          Long size)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • putAgentWorkspaceSize

        public void putAgentWorkspaceSize​(@NonNull
                                          Node node,
                                          String path,
                                          Long size)
      • getWorkspaceSize

        public Long getWorkspaceSize​(Boolean containdedInWorkspace)
      • checkWorkspaces

        public void checkWorkspaces()
      • checkWorkspaces

        public void checkWorkspaces​(boolean force)
      • getAllNonSlaveOrCustomWorkspaceSize

        @Deprecated(forRemoval=true)
        public Long getAllNonSlaveOrCustomWorkspaceSize()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getAllNonAgentOrCustomWorkspaceSize

        public Long getAllNonAgentOrCustomWorkspaceSize()
      • getAllWorkspaceSize

        public Long getAllWorkspaceSize()
      • getDiskUsageWithoutBuilds

        public Long getDiskUsageWithoutBuilds()
      • getAllDiskUsageWithoutBuilds

        public Long getAllDiskUsageWithoutBuilds()
      • saveDiskUsage

        public void saveDiskUsage()
      • loadDiskUsage

        public void loadDiskUsage()