Package | Description |
---|---|
org.snf4j.core |
Provides interfaces and classes implementing the core functionalities of the
API.
|
org.snf4j.core.pool |
Provides classes and interfaces for pooling the selector loops.
|
Modifier and Type | Method and Description |
---|---|
ISelectorLoopPool |
SelectorLoop.getParentPool()
Gets the selector loop pool that owns this selector loop.
|
ISelectorLoopPool |
SelectorLoop.getPool()
Gets the pool that is used by this selector loop to retrieve selector
loops for accepted channels.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectorLoop.setPool(ISelectorLoopPool pool)
Sets the pool that will be used by this selector loop to retrieve
selector loops for accepted channels.
|
Constructor and Description |
---|
SelectorLoop(String name,
ISelectorLoopPool parentPool,
ISelectorLoopStructureFactory factory)
Constructs a named selector loop with specified parent pool
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSelectorLoopPool
Default implementation for selector loop pool that is backed by an fixed-size array of selector loops.
|
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.