Java Non-Blocking I/O Concepts

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Primitives

Selector

Selector

A multiplexor that allows registration of multiple selectable channels so they can be serviced by a single selector thread. The selector thread will block in select() and it will be notified by the selector's implementation only when an I/O event (data becomes available, a new connection is established) occurs.

Channel

Selectable channel.

Buffer