459460461462463464465466467468469
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } private String findPreviousSequentialNode(String path) throws KeeperException, InterruptedException {
174175176177178179180181182183184
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); isRetry = true; } } /**
202203204205206207208209210211212
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * exists is an idempotent operation. Retry before throwing exception
229230231232233234235236237238239
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } private void retryOrThrow(RetryCounter retryCounter, KeeperException e, String opName) throws KeeperException {
266267268269270271272273274275276
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * getChildren is an idempotent operation. Retry before throwing exception
293294295296297298299300301302303
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * getData is an idempotent operation. Retry before throwing exception
321322323324325326327328329330331
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * getData is an idemnpotent operation. Retry before throwing exception
349350351352353354355356357358359
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * setData is NOT an idempotent operation. Retry may cause BadVersion Exception
393394395396397398399400401402403
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * <p>
471472473474475476477478479480481
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); isRetry = true; } } private String createSequential(String path, byte[] data,