Repository: activemq-artemis Updated Branches: refs/heads/master c35651fd6 -> 7dc839c07
Adding getDefaultFailbackDelay back to the interface this is public interface, we can't remove methods... It's being deprecated though Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/7dc839c0 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/7dc839c0 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/7dc839c0 Branch: refs/heads/master Commit: 7dc839c07ddbc1cd8b91b84280161113a8d9b114 Parents: c35651f Author: Clebert Suconic <[email protected]> Authored: Tue Oct 20 18:03:07 2015 -0400 Committer: Clebert Suconic <[email protected]> Committed: Tue Oct 20 18:03:09 2015 -0400 ---------------------------------------------------------------------- .../artemis/api/config/ActiveMQDefaultConfiguration.java | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7dc839c0/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/config/ActiveMQDefaultConfiguration.java ---------------------------------------------------------------------- diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/config/ActiveMQDefaultConfiguration.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/config/ActiveMQDefaultConfiguration.java index 6d8542a..3b739cc 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/config/ActiveMQDefaultConfiguration.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/config/ActiveMQDefaultConfiguration.java @@ -992,6 +992,16 @@ public final class ActiveMQDefaultConfiguration { } /** + * if we have to start as a replicated server this is the delay to wait before fail-back occurs + * @deprecated use getDefaultInitialReplicationSyncTimeout() + */ + @Deprecated + public static long getDefaultFailbackDelay() { + return 5000; + } + + + /** * Will this backup server come live on a normal server shutdown */ public static boolean isDefaultFailoverOnServerShutdown() {
