This is an automated email from the ASF dual-hosted git repository. randgalt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/curator.git
commit 52234662fa10c26453c337d0503a5f40ed74ba2e Author: tison <[email protected]> AuthorDate: Thu May 7 23:58:18 2020 +0800 Document breaking changes --- .../org/apache/curator/SessionFailedRetryPolicy.java | 18 ++++++++++++++++++ src/site/confluence/breaking-changes.confluence | 8 +++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/curator-client/src/main/java/org/apache/curator/SessionFailedRetryPolicy.java b/curator-client/src/main/java/org/apache/curator/SessionFailedRetryPolicy.java index 77ad7be..07f8697 100644 --- a/curator-client/src/main/java/org/apache/curator/SessionFailedRetryPolicy.java +++ b/curator-client/src/main/java/org/apache/curator/SessionFailedRetryPolicy.java @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.apache.curator; import org.apache.zookeeper.KeeperException; diff --git a/src/site/confluence/breaking-changes.confluence b/src/site/confluence/breaking-changes.confluence index af0dc04..d0530a3 100644 --- a/src/site/confluence/breaking-changes.confluence +++ b/src/site/confluence/breaking-changes.confluence @@ -8,6 +8,8 @@ need to use Curator with ZooKeeper 3.4.x you will need to use a previous version * Exhibitor support has been removed. * {{ConnectionHandlingPolicy}} and related classes have been removed. * The {{Reaper}} and {{ChildReaper}} classes/recipes have been removed. You should use ZooKeeper container nodes instead. -* {{newPersistentEphemeralNode(}} and {{newPathChildrenCache}} were removed from {{GroupMember}} -* {{ServiceCacheBuilder<T> executorService(CloseableExecutorService executorService)} was removed from {{ServiceCacheBuilder}} -* {{ServiceProviderBuilder<T> executorService(CloseableExecutorService executorService);)} was removed from {{ServiceProviderBuilder}} +* {{newPersistentEphemeralNode()}} and {{newPathChildrenCache()}} were removed from {{GroupMember}}. +* {{ServiceCacheBuilder<T> executorService(CloseableExecutorService executorService)}} was removed from {{ServiceCacheBuilder}}. +* {{ServiceProviderBuilder<T> executorService(CloseableExecutorService executorService)}} was removed from {{ServiceProviderBuilder}}. +* {{static boolean shouldRetry(int rc)}} was removed from {{RetryLoop}}. +* {{static boolean isRetryException(Throwable exception)}} was removed from {{RetryLoop}}.
