public interface QuotaStatsUpdater
QuotaStatsUpdaters registered to the
 QuotaStatsService.
 
 They use an unrestricted CoreSession to do the update.
| Modifier and Type | Method and Description | 
|---|---|
default void | 
computeInitialStatistics(CoreSession session,
                        QuotaStatsInitialWork currentWorker)
Deprecated. 
 
since 10.1, use other signature 
 | 
void | 
computeInitialStatistics(CoreSession session,
                        QuotaStatsInitialWork currentWorker,
                        String path)
Compute the initial statistics under the given path 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)
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 used@Deprecated default void computeInitialStatistics(CoreSession session, QuotaStatsInitialWork currentWorker)
QuotaStatsUpdater.session - an unrestricted CoreSession to be usedvoid computeInitialStatistics(CoreSession session, QuotaStatsInitialWork currentWorker, String path)
QuotaStatsUpdater.session - an unrestricted CoreSession to be usedpath - the root of the recomputation, or null for the whole repositoryvoid setDescriptionLabel(String descriptionLabel)
String getDescriptionLabel()
Copyright © 2019 Nuxeo. All rights reserved.