File tree 1 file changed +6
-2
lines changed
src/main/java/com/rabbitmq/client/impl/nio
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -301,9 +301,11 @@ public SocketChannelConfigurator getSocketChannelConfigurator() {
301
301
* Nagle's algorithm.
302
302
*
303
303
* @param configurator the configurator to use
304
+ * @return this {@link NioParams} instance
304
305
*/
305
- public void setSocketChannelConfigurator (SocketChannelConfigurator configurator ) {
306
+ public NioParams setSocketChannelConfigurator (SocketChannelConfigurator configurator ) {
306
307
this .socketChannelConfigurator = configurator ;
308
+ return this ;
307
309
}
308
310
309
311
public SslEngineConfigurator getSslEngineConfigurator () {
@@ -318,9 +320,11 @@ public SslEngineConfigurator getSslEngineConfigurator() {
318
320
* The default implementation doesn't do anything.
319
321
*
320
322
* @param configurator the configurator to use
323
+ * @return this {@link NioParams} instance
321
324
*/
322
- public void setSslEngineConfigurator (SslEngineConfigurator configurator ) {
325
+ public NioParams setSslEngineConfigurator (SslEngineConfigurator configurator ) {
323
326
this .sslEngineConfigurator = configurator ;
327
+ return this ;
324
328
}
325
329
326
330
public ExecutorService getConnectionShutdownExecutor () {
You can’t perform that action at this time.
0 commit comments