private OperationResult sequenceCommand(long index, long sequence, RaftSession session) {
    OperationResult result = session.getResult(sequence);
    if (result == null) {
      log.debug("Missing command result at index {}", index);
    }
    return result;
  }
private OperationResult sequenceCommand ( long index , long sequence , RaftSession session ) { OperationResult result = session . getResult ( sequence ) ; if ( result == null ) { log . debug ( "Missing command result at index {}" , index ) ; } return result ; }
Loads and returns a cached command result according to the sequence number.