SelectorProvider
Class SelectorProvider
- java.lang.Object
-
- java.nio.channels.spi.SelectorProvider
public abstract class SelectorProvider extends Object
Service-provider class for selectors and selectable channels.
A selector provider is a concrete subclass of this class that has a zero-argument constructor and implements the abstract methods specified below. A given invocation of the Java virtual machine maintains a single system-wide default provider instance, which is returned by the provider
method. The first invocation of that method will locate the default provider as specified below.
The system-wide default provider is used by the static open
methods of the 登录查看完整内容