java.nio.channels.spi (Java SE 22 & JDK 22)
Description: declaration: module: java.base, package: java.nio.channels.spi
Keywords: java.nio.channels.spi package

Module java.base

# Package java.nio.channels.spi

package java.nio.channels.spi
Service-provider classes for the `java.nio.channels` package.

Only developers who are defining new selector providers or asynchronous channel providers should need to make direct use of this package.

Unless otherwise noted, passing a `null` argument to a constructor or method in any class or interface in this package will cause a `NullPointerException` to be thrown.

Since:
  1.4

- Related Packages
  Package
  Description
  java.nio.channels
  Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
- Classes
  Class
  Description
  AbstractInterruptibleChannel
  Base implementation class for interruptible channels.
  AbstractSelectableChannel
  Base implementation class for selectable channels.
  AbstractSelectionKey
  Base implementation class for selection keys.
  AbstractSelector
  Base implementation class for selectors.
  AsynchronousChannelProvider
  Service-provider class for asynchronous channels.
  SelectorProvider
  Service-provider class for selectors and selectable channels.