Runnable task will be run: in current thread, worker
thread.
strategy can make any other processing decisions.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true, if this thread should keep processing IOEvents on the current and other Connections, or false if this thread should hand-off the farther IOEvent processing on any Connections, which means IOStrategy is becoming responsible for continuing IOEvent processing (possibly starting new thread, which will handle IOEvents).the connection, IOEvent Connection upon which the provided IOEvent occurred.the ioEvent)IOEvent that triggered execution of this strategyThe |
| public boolean | Returns: true, if this thread should keep processing IOEvents on the current and other Connections, or false if this thread should hand-off the farther IOEvent processing on any Connections, which means IOStrategy is becoming responsible for continuing IOEvent processing (possibly starting new thread, which will handle IOEvents).the connection, IOEvent Connection upon which the provided IOEvent occurred.the ioEvent, boolean IOEvent that triggered execution of this strategytrue if IOEvent is still enabled on the isIoEventEnabled)Connection, or false if
IOEvent was preliminary disabled or IOEvent is being simulated.The |
| public Executor | Returns: anExecutor to be used to run given ioEvent processing for the given connectionthe event to get the Executor for ioEvent)Returns an |
| executeIoEvent | back to summary |
|---|---|
| public boolean executeIoEvent(Connection<L> connection, IOEvent ioEvent) throws IOException The
| |
| executeIoEvent | back to summary |
|---|---|
| public boolean executeIoEvent(Connection<L> connection, IOEvent ioEvent, boolean isIoEventEnabled) throws IOException The
| |
| getThreadPoolFor | back to summary |
|---|---|
| public Executor getThreadPoolFor(Connection<L> connection, IOEvent ioEvent) Returns an
| |