public class DefaultSocketChannelConfigurator extends Object implements SocketChannelConfigurator
| Constructor and Description |
|---|
DefaultSocketChannelConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(SocketChannel socketChannel)
Provides a hook to insert custom configuration of the
SocketChannels
used to connect to an AMQP server before they connect. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic void configure(SocketChannel socketChannel) throws IOException
SocketChannels
used to connect to an AMQP server before they connect.
The default behaviour of this method is to disable Nagle's
algorithm to get more consistently low latency. However it
may be overridden freely and there is no requirement to retain
this behaviour.configure in interface SocketChannelConfiguratorsocketChannel - The socket channel that is to be used for the ConnectionIOExceptionCopyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.