public Map<String, Integer> doRPC() throws IOException {
return masterRPC.getChokeMap(physicalNode);
}
};
RetryHarness harness = new RetryHarness(retry, new FixedPeriodBackoff(
RETRY_PAUSE_MS, MAX_RETRIES), true);
try {
harness.attempt();
return retry.getResult();
} catch (Exception e) {
throw new IOException(e);
}