public EpollSocketChannelConfig setTcpUserTimeout(int milliseconds) {
        try {
            ((EpollSocketChannel) channel).socket.setTcpUserTimeout(milliseconds);
            return this;
        } catch (IOException e) {
            throw new ChannelException(e);
        }
    }
public EpollSocketChannelConfig setTcpUserTimeout ( int milliseconds ) { try { ( ( EpollSocketChannel ) channel ) . socket . setTcpUserTimeout ( milliseconds ) ; return this ; } catch ( IOException e ) { throw new ChannelException ( e ) ; } }
Set the {@code TCP_USER_TIMEOUT} option on the socket. See {@code man 7 tcp} for more details.