@Override
  public boolean processFailure(Throwable throwable) {
    boolean isRetriable = throwable instanceof RestServiceException && RestServiceErrorCode.NotFound.equals(
        ((RestServiceException) throwable).getErrorCode());
    if (isRetriable) {
      nextDatacenter = remoteDatacenters.get(counter++);
      return true;
    } else {
      return false;
    }
  }
@param throwable The {@link Throwable} thrown in execution of retrying.
@return {@code true} if the {@link Throwable} is {@link RestServiceException} and Get request return not found.
ambry-named-mysql/src/main/java/com/github/ambry/named/GetTransactionStateTracker.java