@Override
    public void addInterestOps(int ops) {
        if (!key.isValid())
            throw new CancelledKeyException();
        else if (!ready())
            throw new IllegalStateException("handshake is not completed");

        key.interestOps(key.interestOps() | ops);
    }
Adds interestOps to SelectionKey of the TransportLayer
@param ops SelectionKey interestOps
clients/src/main/java/org/apache/kafka/common/network/SslTransportLayer.java