Class StorageCapacityResult

java.lang.Object
fr.gouv.vitam.storage.driver.model.StorageResult
fr.gouv.vitam.storage.driver.model.StorageCapacityResult

public class StorageCapacityResult extends StorageResult
Data structure representing global result from a 'get storage container information / capacity' request
  • Constructor Details

    • StorageCapacityResult

      public StorageCapacityResult()
      Empty constructor, needed for response parsing
    • StorageCapacityResult

      public StorageCapacityResult(Integer tenantId, long usableSpace)
      Initialize the needed parameters for get capacity results
      Parameters:
      tenantId - The request tenantId
      usableSpace - The usable space in offer
  • Method Details

    • getUsableSpace

      public long getUsableSpace()
      Returns:
      The offer usable space