public final class SelectionManager extends Object
This implementation uses the Logger
named
org.apache.river.jeri.internal.runtime.SelectionManager
to
log information at the following levels:
Level | Description |
---|---|
HANDLED | I/O exception caught from select operation |
Modifier and Type | Class and Description |
---|---|
class |
SelectionManager.Key
A Key represents a given SelectableChannel's registration with this
SelectionManager.
|
static interface |
SelectionManager.SelectionHandler
SelectionHandler is the callback interface for an object that will
process an I/O readiness event that has been detected by a
SelectionManager.
|
Constructor and Description |
---|
SelectionManager()
Creates a new SelectionManager.
|
Modifier and Type | Method and Description |
---|---|
SelectionManager.Key |
register(SelectableChannel channel,
SelectionManager.SelectionHandler handler)
Registers the given SelectableChannel with this SelectionManager.
|
public SelectionManager() throws IOException
IOException
public SelectionManager.Key register(SelectableChannel channel, SelectionManager.SelectionHandler handler)
Copyright © 2016–2018. All rights reserved.