org.eclipse.emf.cdo.common.commit.handler
Class AsyncCommitInfoHandler
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.net4j.util.concurrent.Worker
org.eclipse.net4j.util.concurrent.QueueWorker<CDOCommitInfo>
org.eclipse.emf.cdo.common.commit.handler.AsyncCommitInfoHandler
- All Implemented Interfaces:
- CDOCommitInfoHandler, INotifier, ILifecycle
public class AsyncCommitInfoHandler
- extends QueueWorker<CDOCommitInfo>
- implements CDOCommitInfoHandler
A commit info handler
that asynchronously delegates commit infos
to another handler.
- Since:
- 4.0
- Author:
- Eike Stepper
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle |
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toString |
AsyncCommitInfoHandler
public AsyncCommitInfoHandler(CDOCommitInfoHandler delegate)
handleCommitInfo
public void handleCommitInfo(CDOCommitInfo commitInfo)
- Specified by:
handleCommitInfo
in interface CDOCommitInfoHandler
work
protected void work(Worker.WorkContext context,
CDOCommitInfo commitInfo)
- Specified by:
work
in class QueueWorker<CDOCommitInfo>
doRemainingWorkBeforeDeactivate
protected boolean doRemainingWorkBeforeDeactivate()
- Overrides:
doRemainingWorkBeforeDeactivate
in class QueueWorker<CDOCommitInfo>
Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.