Examples of FailureRetryZKClient


Examples of org.apache.twill.internal.zookeeper.FailureRetryZKClient

   * @param client The {@link ZKClient} for operations delegation.
   * @param retryStrategy The {@link RetryStrategy} to be invoke when there is operation failure.
   * @return A {@link ZKClient}.
   */
  public static ZKClient retryOnFailure(ZKClient client, RetryStrategy retryStrategy) {
    return new FailureRetryZKClient(client, retryStrategy);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.