public interface IoSessionRecycler
IoSessionRecycler to an IoService.| Modifier and Type | Field and Description |
|---|---|
static IoSessionRecycler |
NOOP
A dummy recycler that doesn't recycle any sessions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
put(IoSession session)
Called when the underlying transport creates or writes a new
IoSession. |
IoSession |
recycle(SocketAddress remoteAddress)
Attempts to retrieve a recycled
IoSession. |
void |
remove(IoSession session)
Called when an
IoSession is explicitly closed. |
static final IoSessionRecycler NOOP