public class QuotaComputerProcessor extends Object implements PostCommitEventListener
QuotaSyncListenerChecker
when
Quota needs to be recomputedConstructor and Description |
---|
QuotaComputerProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(EventBundle eventBundle)
Handles the set of events that were raised during the life of an user
operation.
|
void |
processQuotaComputation(SizeUpdateEventContext quotaCtx) |
public void handleEvent(EventBundle eventBundle) throws ClientException
PostCommitEventListener
The events are fired as a BundleEvent
after the transaction is
committed.
handleEvent
in interface PostCommitEventListener
eventBundle
- the events to handleClientException
public void processQuotaComputation(SizeUpdateEventContext quotaCtx) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.