Class StorageInformation
- java.lang.Object
-
- fr.gouv.vitam.processing.common.model.StorageInformation
-
public final class StorageInformation extends java.lang.Object
The 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 int
getNbCopies()
java.lang.String
getOfferId()
long
getUsableSpace()
void
setNbCopies(int nbCopies)
Sets the number of copiesStorageInformation
setOfferId(java.lang.String offerId)
StorageInformation
setUsableSpace(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
-
-