public class QuotaComputerProcessor extends Object implements PostCommitEventListener
QuotaSyncListenerChecker when Quota needs to be recomputed| Constructor 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 PostCommitEventListenereventBundle - the events to handleClientExceptionpublic void processQuotaComputation(SizeUpdateEventContext quotaCtx) throws ClientException
ClientExceptionCopyright © 2015 Nuxeo SA. All rights reserved.