372373374375376377378379380381382
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * <p>
450451452453454455456457458459460
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); isRetry = true; } } private String createSequential(String path, byte[] data,
485486487488489490491492493494495
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * Convert Iterable of {@link ZKOp} we got into the ZooKeeper.Op
540541542543544545546547548549550
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } private String findPreviousSequentialNode(String path) throws KeeperException, InterruptedException {
346347348349350351352353354355356
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * setData is NOT an idempotent operation. Retry may cause BadVersion Exception
404405406407408409410411412413414
492493494495496497498499500501502
531532533534535536537538539540541
131132133134135136137138139140141
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); isRetry = true; } } /**
167168169170171172173174175176177
default: throw e; } } retryCounter.sleepUntilNextRetry(); retryCounter.useRetry(); } } /** * exists is an idempotent operation. Retry before throw out exception