public class AsyncCommitInfoHandler extends QueueWorker<CDOCommitInfo> implements CDOCommitInfoHandler
commit info handler that asynchronously delegates commit infos
to another handler.Worker.WorkContextILifecycle.DeferrableActivationDEFAULT_POLL_MILLISDEFAULT_ERROR_HANDLER, DEFAULT_TIMEOUT| Constructor and Description |
|---|
AsyncCommitInfoHandler(CDOCommitInfoHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doRemainingWorkBeforeDeactivate() |
protected String |
getThreadName() |
void |
handleCommitInfo(CDOCommitInfo commitInfo) |
protected void |
work(Worker.WorkContext context,
CDOCommitInfo commitInfo) |
addWork, clearQueue, createQueue, doDeactivate, getPollMillis, noWork, setPollMillis, workdoActivate, getActivationTimeout, getDeactivationTimeout, getGlobalErrorHandler, getWorkerThread, handleError, isDaemon, setActivationTimeout, setDaemon, setDeactivationTimeout, setGlobalErrorHandleractivate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toStringaddListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, getListeners, hasListeners, removeListenerpublic AsyncCommitInfoHandler(CDOCommitInfoHandler delegate)
public void handleCommitInfo(CDOCommitInfo commitInfo)
handleCommitInfo in interface CDOCommitInfoHandlerprotected void work(Worker.WorkContext context, CDOCommitInfo commitInfo)
work in class QueueWorker<CDOCommitInfo>protected boolean doRemainingWorkBeforeDeactivate()
doRemainingWorkBeforeDeactivate in class QueueWorker<CDOCommitInfo>protected String getThreadName()
getThreadName in class WorkerCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html