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, wait
process
public String getIdentifier(TT entry)
BatchProcessor.BatchProcessWorker
getIdentifier
in interface BatchProcessor.BatchProcessWorker<TT>
entry
- the entrytoString()
of the entrypublic void beforeProcess() throws Throwable
beforeProcess
in interface BatchProcessor.BatchProcessWorker<TT>
Throwable
public void afterProcess() throws Throwable
afterProcess
in interface BatchProcessor.BatchProcessWorker<TT>
Throwable
Copyright © 2005–2017 Alfresco Software. All rights reserved.