Package | Description |
---|---|
org.snf4j.core |
Provides interfaces and classes implementing the core functionalities of the
API.
|
org.snf4j.core.factory |
Provides interfaces and classes for factories of different kind that are used
by the API.
|
org.snf4j.core.pool |
Provides classes and interfaces for pooling the selector loops.
|
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 |
DefaultSelectorLoopStructureFactory
Default factory used to configure the internal structure of the selector loop.
|
Modifier and Type | Field and Description |
---|---|
protected ISelectorLoopStructureFactory |
DefaultSelectorLoopPool.selectorFactory
A factory used to create selectors for all selector loops in this pool
|
Constructor and Description |
---|
DefaultSelectorLoopPool(String name,
int capacity,
ThreadFactory threadFactory,
ISelectorLoopStructureFactory selectorFactory)
Constructs a named selector loop pool with given capacity and thread
factory.
|
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.