public class DocumentsCountUpdater extends AbstractQuotaStatsUpdater
QuotaStatsUpdater counting the non folderish
documents.
Store the descendant and children count on Folderish documents.
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE |
| Constructor and Description |
|---|
DocumentsCountUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeInitialStatistics(CoreSession session,
QuotaStatsInitialWork currentWorker)
Compute the initial statistics on the whole repository for this
QuotaStatsUpdater. |
getDescriptionLabel, getLabel, getName, setDescriptionLabel, setLabel, setName, updateStatisticspublic static final int BATCH_SIZE
public void computeInitialStatistics(CoreSession session, QuotaStatsInitialWork currentWorker)
QuotaStatsUpdaterQuotaStatsUpdater.session - an unrestricted CoreSession to be usedCopyright © 2014 Nuxeo SA. All rights reserved.