Stay organized with collections
Save and categorize content based on your preferences.
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.
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# java.nio.channels.spi\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\njava.nio.channels.spi\n=====================\n\nService-provider classes for the [java.nio.channels](/reference/java/nio/channels/package-summary) package.\n\nOnly developers who are defining new selector providers or\nasynchronous channel providers should need to make direct use of\nthis package.\n\nUnless otherwise noted, passing a `null` argument to a\nconstructor or method in any class or interface in this package\nwill cause a [NullPointerException](/reference/java/lang/NullPointerException) to be thrown.\n\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| [AbstractInterruptibleChannel](/reference/java/nio/channels/spi/AbstractInterruptibleChannel) | Base implementation class for interruptible channels. |\n| [AbstractSelectableChannel](/reference/java/nio/channels/spi/AbstractSelectableChannel) | Base implementation class for selectable channels. |\n| [AbstractSelectionKey](/reference/java/nio/channels/spi/AbstractSelectionKey) | Base implementation class for selection keys. |\n| [AbstractSelector](/reference/java/nio/channels/spi/AbstractSelector) | Base implementation class for selectors. |\n| [AsynchronousChannelProvider](/reference/java/nio/channels/spi/AsynchronousChannelProvider) | Service-provider class for asynchronous channels. |\n| [SelectorProvider](/reference/java/nio/channels/spi/SelectorProvider) | Service-provider class for selectors and selectable channels. |\n\n-\n\n Classes\n -------\n\n - [AbstractInterruptibleChannel](/reference/java/nio/channels/spi/AbstractInterruptibleChannel)\n - [AbstractSelectableChannel](/reference/java/nio/channels/spi/AbstractSelectableChannel)\n - [AbstractSelectionKey](/reference/java/nio/channels/spi/AbstractSelectionKey)\n - [AbstractSelector](/reference/java/nio/channels/spi/AbstractSelector)\n - [AsynchronousChannelProvider](/reference/java/nio/channels/spi/AsynchronousChannelProvider)\n - [SelectorProvider](/reference/java/nio/channels/spi/SelectorProvider)"]]