public interface Esi4JTaskProcessor
Esi4JEntityTasks against an Esi4JIndex. For instance, a processor might be synchronous or
asynchronous.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T> T |
execute(SerializableEsi4JOperation<T> operation)
executes operation after currently submitted tasks and before newly submitted tasks
|
Esi4JIndex |
getIndex() |
void |
processTasks(Esi4JEntityTask[] tasks) |
void |
processTasks(Iterable<Esi4JEntityTask[]> tasks)
same as calling
processTasks(Esi4JEntityTask[]) multiple times, but might have better performance |
Esi4JIndex getIndex()
void processTasks(Esi4JEntityTask[] tasks)
tasks - an array of Esi4JEntityTask, may contain multiple tasks for the same entity or
nullvoid processTasks(Iterable<Esi4JEntityTask[]> tasks)
processTasks(Esi4JEntityTask[]) multiple times, but might have better performance<T> T execute(SerializableEsi4JOperation<T> operation)
void close()
Copyright © 2016 Molindo GmbH. All Rights Reserved.