ExpiringSessionRecycler
public interface IoSessionRecycler
IoSessionRecycler
to an IoService
.Modifier and Type | Field | Description |
---|---|---|
static IoSessionRecycler |
NOOP |
A dummy recycler that doesn't recycle any sessions.
|
Modifier and Type | Method | 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
Copyright © 2004–2018 Apache MINA Project. All rights reserved.