protected boolean tokensAreEqual(Token<TokenType> otherToken) throws IOException {
    int oldSeqNumber =
        this.token == null ? -1 : ((LlapTokenIdentifier) this.token.decodeIdentifier()).getSequenceNumber();
    int newSeqNumber =
        otherToken == null ? -1 : ((LlapTokenIdentifier) otherToken.decodeIdentifier()).getSequenceNumber();

    LOG.debug("Check token equality be sequenceNumber: {} <-> {}", oldSeqNumber, newSeqNumber);
    return oldSeqNumber == newSeqNumber;
  }
Asynchronous request to a node. The request must override {@link #callInternal()}
@param <REQUEST>
@param <RESPONSE>
llap-common/src/java/org/apache/hadoop/hive/llap/AsyncPbRpcProxy.java