Class RepositorySpaceWsSource

java.lang.Object
org.lockss.ws.entities.RepositorySpaceWsResult
org.lockss.laaws.poller.impl.RepositorySpaceWsSource

public class RepositorySpaceWsSource extends org.lockss.ws.entities.RepositorySpaceWsResult
Container for the information that is used as the source for a query related to repository spaces.
  • Constructor Details

    • RepositorySpaceWsSource

      public RepositorySpaceWsSource(String repositorySpaceId, org.lockss.util.os.PlatformUtil.DF puDf)
      Constructor.
      Parameters:
      repositorySpaceId - A String with the name of the store space.
      puDf - A PlatformUtil.DF with disk space information.
  • Method Details

    • getRepositorySpaceId

      public String getRepositorySpaceId()
      Overrides:
      getRepositorySpaceId in class org.lockss.ws.entities.RepositorySpaceWsResult
    • getSize

      public Long getSize()
      Overrides:
      getSize in class org.lockss.ws.entities.RepositorySpaceWsResult
    • getUsed

      public Long getUsed()
      Overrides:
      getUsed in class org.lockss.ws.entities.RepositorySpaceWsResult
    • getFree

      public Long getFree()
      Overrides:
      getFree in class org.lockss.ws.entities.RepositorySpaceWsResult
    • getPercentageFull

      public Double getPercentageFull()
      Overrides:
      getPercentageFull in class org.lockss.ws.entities.RepositorySpaceWsResult
    • getActiveCount

      public Integer getActiveCount()
      Overrides:
      getActiveCount in class org.lockss.ws.entities.RepositorySpaceWsResult
    • getInactiveCount

      public Integer getInactiveCount()
      Overrides:
      getInactiveCount in class org.lockss.ws.entities.RepositorySpaceWsResult
    • getDeletedCount

      public Integer getDeletedCount()
      Overrides:
      getDeletedCount in class org.lockss.ws.entities.RepositorySpaceWsResult
    • getOrphanedCount

      public Integer getOrphanedCount()
      Overrides:
      getOrphanedCount in class org.lockss.ws.entities.RepositorySpaceWsResult