Selector
Class Selector
- java.lang.Object
-
- java.nio.channels.Selector
- All Implemented Interfaces:
- Closeable, AutoCloseable
- Direct Known Subclasses:
- AbstractSelector
public abstract class Selector extends Object implements Closeable
A multiplexor of SelectableChannel
objects.
A selector may be created by invoking the open
method of this class, which will use the system's default selector provider
to create a new selector. A selector may