@AlfrescoPublicApi public abstract static class BatchProcessor.BatchProcessWorkerAdaptor<TT> extends Object implements BatchProcessor.BatchProcessWorker<TT>
BatchProcessor.BatchProcessWorker.process(Object)| Constructor and Description |
|---|
BatchProcessWorkerAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterProcess()
No-op
|
void |
beforeProcess()
No-op
|
String |
getIdentifier(TT entry)
Gets an identifier for the given entry (for monitoring / logging purposes).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocesspublic String getIdentifier(TT entry)
BatchProcessor.BatchProcessWorkergetIdentifier in interface BatchProcessor.BatchProcessWorker<TT>entry - the entrytoString() of the entrypublic void beforeProcess()
throws Throwable
beforeProcess in interface BatchProcessor.BatchProcessWorker<TT>Throwablepublic void afterProcess()
throws Throwable
afterProcess in interface BatchProcessor.BatchProcessWorker<TT>ThrowableCopyright © 2005–2018 Alfresco Software. All rights reserved.