| 386 | |
| 387 | |
| 388 | public static class Config { |
| 389 | |
| 390 | public void configure(SocketChannel channel) throws IOException { |
| 391 | channel.socket().setTcpNoDelay(true); |
| 392 | } |
| 393 | |
| 394 | public int getReadBufferSizeInBytes() { |
| 395 | return 1024; |
| 396 | } |
| 397 | |
| 398 | public int getMaxReadLoops() { |
| 399 | return 50; |
| 400 | } |
| 401 | |
| 402 | public int getConnectTimeout() { |
| 403 | return 5; |
| 404 | } |
| 405 | |
| 406 | public TimeUnit getConnectTimeoutUnit() { |
| 407 | return TimeUnit.SECONDS; |
| 408 | } |
| 409 | } |
| 410 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…