@Deprecated public class SelectorFactory extends Object
Selector.| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ATTEMPTS
Deprecated.
The number of attempts to find an available selector.
|
static int |
MAX_SELECTORS
Deprecated.
The maximum number of
Selector to create. |
static long |
TIMEOUT
Deprecated.
The timeout before we exit.
|
| Constructor and Description |
|---|
SelectorFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Selector |
getSelector()
Deprecated.
Get an exclusive
Selector. |
static void |
returnSelector(Selector selector)
Deprecated.
Returns the
Selector to the cache. |
public static final int MAX_SELECTORS
Selector to create.public static final int MAX_ATTEMPTS
public static final long TIMEOUT
public static final Selector getSelector()
Selector.Selector.public static final void returnSelector(Selector selector)
Selector to the cache.selector - The Selector to return.Copyright © 2005–2025. All rights reserved.