* @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);
}