Class TrashRemovalStatistic
- java.lang.Object
-
- com.atlassian.confluence.impl.retention.analytics.TrashRemovalStatistic
-
public class TrashRemovalStatistic extends Object
Hold trash removal statistics- Since:
- 7.14.0
-
-
Constructor Summary
Constructors Constructor Description TrashRemovalStatistic()
TrashRemovalStatistic(int purgedPageCnt, int purgedAttachmentCnt, long purgedAttachmentTotalSizeInBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachmentDeleted(List<Attachment> deletedVersions)
int
getPurgedAttachmentCnt()
long
getPurgedAttachmentTotalSizeInBytes()
int
getPurgedPageCnt()
void
pageOrBlogDeleted(AbstractPage deletedPageOrBlog)
-
-
-
Method Detail
-
pageOrBlogDeleted
public void pageOrBlogDeleted(AbstractPage deletedPageOrBlog)
-
attachmentDeleted
public void attachmentDeleted(List<Attachment> deletedVersions)
-
getPurgedPageCnt
public int getPurgedPageCnt()
- Returns:
- total number (all versions) of pages and blogposts that have been deleted in a trash removal job
-
getPurgedAttachmentCnt
public int getPurgedAttachmentCnt()
- Returns:
- total number (all versions) of attachments that have been deleted in a trash removal job
-
getPurgedAttachmentTotalSizeInBytes
public long getPurgedAttachmentTotalSizeInBytes()
- Returns:
- total size (in bytes, all versions) of attachments that have been deleted in a trash removal job
-
-