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.Exception
void process(T item) throws java.lang.Exception
java.lang.Exception
void onProcessComplete() throws java.lang.Exception
java.lang.Exception