Class StorageInformation
java.lang.Object
fr.gouv.vitam.processing.common.model.StorageInformation
The class StorageInformation is used to store information about the storage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
long
void
setNbCopies
(int nbCopies) Sets the number of copiessetOfferId
(String offerId) setUsableSpace
(long usableSpace)
-
Constructor Details
-
StorageInformation
public StorageInformation()
-
-
Method Details
-
getUsableSpace
public long getUsableSpace()- Returns:
- usableSpace
-
setUsableSpace
- Parameters:
usableSpace
- the usableSpace of storage- Returns:
- StorageInformation
-
getOfferId
- Returns:
- the offer ID
-
setOfferId
- Parameters:
offerId
- the offer ID- Returns:
- StorageInformation
-
getNbCopies
public int getNbCopies()- Returns:
- the number of copies
-
setNbCopies
public void setNbCopies(int nbCopies) Sets the number of copies- Parameters:
nbCopies
- the number of copies
-