Top Description Constructors Methods
sun.nio.ch

pack-priv Class DefaultPollerProvider

extends PollerProvider
Class Inheritance
Imports
java.io.IOException, jdk.internal.vm.ContinuationSupport

Default PollerProvider for Linux.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv Poller.Mode
defaultPollerMode()

Overrides sun.nio.ch.PollerProvider.defaultPollerMode.

Returns the default poller mode.

pack-priv int
defaultReadPollers(Poller.Mode mode)

Overrides sun.nio.ch.PollerProvider.defaultReadPollers.

Default number of read pollers for the given mode.

pack-priv Poller
readPoller(boolean
true to create a sub-poller
subPoller
)

Implements abstract sun.nio.ch.PollerProvider.readPoller.

Creates a Poller for read ops.

pack-priv Poller
writePoller(boolean
true to create a sub-poller
subPoller
)

Implements abstract sun.nio.ch.PollerProvider.writePoller.

Creates a Poller for write ops.

Inherited from sun.nio.ch.PollerProvider:
defaultWritePollersfdValToIndexprovider

Constructor Detail

DefaultPollerProviderback to summary
pack-priv DefaultPollerProvider()

Method Detail

defaultPollerModeback to summary
pack-priv Poller.Mode defaultPollerMode()

Overrides sun.nio.ch.PollerProvider.defaultPollerMode.

Doc from sun.nio.ch.PollerProvider.defaultPollerMode.

Returns the default poller mode.

Annotations
@Override
defaultReadPollersback to summary
pack-priv int defaultReadPollers(Poller.Mode mode)

Overrides sun.nio.ch.PollerProvider.defaultReadPollers.

Doc from sun.nio.ch.PollerProvider.defaultReadPollers.

Default number of read pollers for the given mode. The count must be a power of 2.

Annotations
@Override
readPollerback to summary
pack-priv Poller readPoller(boolean subPoller) throws IOException

Implements abstract sun.nio.ch.PollerProvider.readPoller.

Doc from sun.nio.ch.PollerProvider.readPoller.

Creates a Poller for read ops.

Parameters
subPoller:boolean

true to create a sub-poller

Annotations
@Override
writePollerback to summary
pack-priv Poller writePoller(boolean subPoller) throws IOException

Implements abstract sun.nio.ch.PollerProvider.writePoller.

Doc from sun.nio.ch.PollerProvider.writePoller.

Creates a Poller for write ops.

Parameters
subPoller:boolean

true to create a sub-poller

Annotations
@Override