Class StorageCapacityResult
java.lang.Object
fr.gouv.vitam.storage.driver.model.StorageResult
fr.gouv.vitam.storage.driver.model.StorageCapacityResult
Data structure representing global result from a 'get storage container
information / capacity' request
-
Constructor Summary
ConstructorDescriptionEmpty constructor, needed for response parsingStorageCapacityResult
(Integer tenantId, long usableSpace) Initialize the needed parameters for get capacity results -
Method Summary
Methods inherited from class fr.gouv.vitam.storage.driver.model.StorageResult
getTenantId, getType
-
Constructor Details
-
StorageCapacityResult
public StorageCapacityResult()Empty constructor, needed for response parsing -
StorageCapacityResult
Initialize the needed parameters for get capacity results- Parameters:
tenantId
- The request tenantIdusableSpace
- The usable space in offer
-
-
Method Details
-
getUsableSpace
public long getUsableSpace()- Returns:
- The offer usable space
-