/** * Set the default fixed delay in seconds between the reconnection attempts. Also set the * default connection policy to {@link ReconnectionPolicy#FIXED_DELAY} * * @param fixedDelay Delay expressed in seconds */ public static void setDefaultFixedDelay(int fixedDelay) { defaultFixedDelay = fixedDelay; setDefaultReconnectionPolicy(ReconnectionPolicy.FIXED_DELAY); }
/** * Set the default fixed delay in seconds between the reconnection attempts. Also set the * default connection policy to {@link ReconnectionPolicy#FIXED_DELAY} * * @param fixedDelay Delay expressed in seconds */ public static void setDefaultFixedDelay(int fixedDelay) { defaultFixedDelay = fixedDelay; setDefaultReconnectionPolicy(ReconnectionPolicy.FIXED_DELAY); }