Package org.nuxeo.ecm.quota.size
Class QuotaInfo
java.lang.Object
org.nuxeo.ecm.quota.size.QuotaInfo
Helper class to have easy to display numbers and stats
- Since:
- 5.6
- Author:
- Tiry
-
Field Summary
Modifier and TypeFieldDescriptionprotected final QuotaDisplayValue
protected final QuotaDisplayValue
protected final QuotaDisplayValue
protected final QuotaDisplayValue
protected final QuotaDisplayValue
protected final QuotaDisplayValue
-
Constructor Summary
ConstructorDescriptionQuotaInfo
(long innerSize, long totalSize, long trashSize, long versionsSize, long maxQuota) -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns the string representation of this quota informations.
-
Field Details
-
innerSize
-
totalSize
-
sizeTrash
-
sizeVersions
-
maxQuota
-
liveSize
-
-
Constructor Details
-
QuotaInfo
public QuotaInfo(long innerSize, long totalSize, long trashSize, long versionsSize, long maxQuota)
-
-
Method Details
-
getInnerSize
-
getTotalSize
-
getMaxQuota
-
getTrashSize
-
getSizeVersions
-
getLiveSize
-
toString
Returns the string representation of this quota informations. to = total size in bytes i = inner size in bytes v = versions' size in bytes l = live size in bytes tr = trash size in bytes m = maximum quota in bytes
-