|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncInvoker
When channel needs to process something asynchronously it will use AsyncInvoker to perform the task. This interface most probably will allow the channel to use application specific and application managed thread pool, etc.
Please note, that some operations of channel can be relatively long (usually depending on network).
Method Summary | |
---|---|
void |
dispose()
Makes a hint to invoker that it's not used anymore and, PROBABLY, should be stopped and all associated resources - freed. |
void |
invoke(java.lang.Runnable target)
Submit the task to this invoker. |
Method Detail |
---|
void invoke(java.lang.Runnable target)
target
- Task to executevoid dispose()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |