|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
I
- input typeO
- output typepublic interface ThreadsafeProcessor<I,O>
Objects that wish to use MulticoreWrapper for multicore support must implement this interface. Objects that implement this interface should, of course, be threadsafe.
Method Summary | |
---|---|
ThreadsafeProcessor<I,O> |
newInstance()
Return a new threadsafe instance. |
O |
process(I input)
Set the input item that will be processed when a thread is allocated to this processor. |
Method Detail |
---|
O process(I input)
input
- ThreadsafeProcessor<I,O> newInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |