public interface ActorProcessor<T>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getThreadName()
Returns the current thread name.
|
void |
onProcessComplete()
Called when all items in the queue are processed.
|
void |
onProcessStart()
Called before items in the queue are processed.
|
void |
process(T item)
Process a single item.
|
java.lang.String getThreadName()
void onProcessStart()
throws java.lang.Exception
java.lang.Exceptionvoid process(T item) throws java.lang.Exception
java.lang.Exceptionvoid onProcessComplete()
throws java.lang.Exception
java.lang.Exception