Adding getDefaultFailbackDelay back to the interface

this is public interface, we can't remove methods...
It's being deprecated though
This commit is contained in:
Clebert Suconic 2015-10-20 18:03:07 -04:00
parent c35651fd6f
commit 7dc839c07d
1 changed files with 10 additions and 0 deletions

View File

@ -991,6 +991,16 @@ public final class ActiveMQDefaultConfiguration {
return DEFAULT_INITIAL_REPLICATION_SYNC_TIMEOUT;
}
/**
* 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
*/