public interface QuotaStatsUpdater
QuotaStatsUpdaters registered to the
QuotaStatsService.
They use an unrestricted CoreSession to do the update.
| Modifier and Type | Method and Description |
|---|---|
void |
computeInitialStatistics(CoreSession session,
QuotaStatsInitialWork currentWorker)
Compute the initial statistics on the whole repository for this
QuotaStatsUpdater. |
String |
getDescriptionLabel() |
String |
getLabel() |
String |
getName() |
void |
setDescriptionLabel(String descriptionLabel) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
updateStatistics(CoreSession session,
DocumentEventContext docCtx,
Event event)
Update the statistics for the given
docCtx and event. |
void updateStatistics(CoreSession session, DocumentEventContext docCtx, Event event) throws ClientException
docCtx and event. Signature was changed in 5.6 to pass the
Event instead of the eventName to allow the implementer to rollback the transaction if neededsession - an unrestricted CoreSession to be usedClientExceptionvoid computeInitialStatistics(CoreSession session, QuotaStatsInitialWork currentWorker)
QuotaStatsUpdater.session - an unrestricted CoreSession to be usedvoid setName(String name)
String getName()
void setLabel(String label)
String getLabel()
void setDescriptionLabel(String descriptionLabel)
String getDescriptionLabel()
Copyright © 2015 Nuxeo SA. All rights reserved.