Class StorageInformation
- java.lang.Object
-
- fr.gouv.vitam.processing.common.model.StorageInformation
-
public final class StorageInformation extends java.lang.ObjectThe class StorageInformation is used to store information about the storage
-
-
Constructor Summary
Constructors Constructor Description StorageInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNbCopies()java.lang.StringgetOfferId()longgetUsableSpace()voidsetNbCopies(int nbCopies)Sets the number of copiesStorageInformationsetOfferId(java.lang.String offerId)StorageInformationsetUsableSpace(long usableSpace)
-
-
-
Method Detail
-
getUsableSpace
public long getUsableSpace()
- Returns:
- usableSpace
-
setUsableSpace
public StorageInformation setUsableSpace(long usableSpace)
- Parameters:
usableSpace- the usableSpace of storage- Returns:
- StorageInformation
-
getOfferId
public java.lang.String getOfferId()
- Returns:
- the offer ID
-
setOfferId
public StorageInformation setOfferId(java.lang.String offerId)
- 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
-
-