XNIO Concepts: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 15: | Line 15: | ||
An XNIO worker is the central point of coordination for a network application. A worker has two different types of thread pools: | An XNIO worker is the central point of coordination for a network application. A worker has two different types of thread pools: | ||
* '''I/O threads''', which, in turn, come in two types: | * '''I/O threads''', which, in turn, come in two types: | ||
** ''Read threads'' that can handle callbacks for read events | ** '''Read threads''' that can handle callbacks for read events | ||
** ''Write threads'' that can handle callback for write events | ** '''Write threads''' that can handle callback for write events | ||
* ''Worker threads'' that are managed by a standard Executor-based thread pool. | * '''Worker threads''' that are managed by a standard Executor-based thread pool. | ||
=XNIO Listener= | =XNIO Listener= |
Revision as of 02:38, 19 January 2016
Internal
NIO Concepts
XNIO Worker
- https://docs.jboss.org/author/display/XNIO/Workers
- http://docs.jboss.org/xnio/3.1/api/index.html?org/xnio/XnioWorker.html
An XNIO worker is the central point of coordination for a network application. A worker has two different types of thread pools:
- I/O threads, which, in turn, come in two types:
- Read threads that can handle callbacks for read events
- Write threads that can handle callback for write events
- Worker threads that are managed by a standard Executor-based thread pool.