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, updateStatistics
public static final int BATCH_SIZE
public void computeInitialStatistics(CoreSession session, QuotaStatsInitialWork currentWorker)
QuotaStatsUpdater
QuotaStatsUpdater
.session
- an unrestricted CoreSession
to be usedCopyright © 2014 Nuxeo SA. All rights reserved.