public interface IBatchProcessor<Target,ItemInput,Result>
Modifier and Type | Method and Description |
---|---|
void |
afterProcessing(Target target,
Iterator<ItemInput> iterator) |
void |
beforeProcessing(Target target) |
void |
cancel() |
Iterator<ItemInput> |
getIterator(Target target) |
net.idea.modbcum.i.processors.ProcessorsChain<ItemInput,Result,net.idea.modbcum.i.processors.IProcessor> |
getProcessorChain() |
Result |
getResult(Target target) |
long |
getTimeout() |
void |
onError(ItemInput input,
Object output,
Result result,
Exception x) |
void |
onItemProcessed(ItemInput input,
Object output,
Result result) |
void |
onItemRead(ItemInput input,
Result result) |
void |
setProcessorChain(net.idea.modbcum.i.processors.ProcessorsChain<ItemInput,Result,net.idea.modbcum.i.processors.IProcessor> processor) |
void |
setTimeout(long timeout) |
net.idea.modbcum.i.processors.ProcessorsChain<ItemInput,Result,net.idea.modbcum.i.processors.IProcessor> getProcessorChain()
void setProcessorChain(net.idea.modbcum.i.processors.ProcessorsChain<ItemInput,Result,net.idea.modbcum.i.processors.IProcessor> processor)
Iterator<ItemInput> getIterator(Target target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
void beforeProcessing(Target target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
void afterProcessing(Target target, Iterator<ItemInput> iterator) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
long getTimeout()
void setTimeout(long timeout)
void cancel()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.