Interface ReconnectConfig

    • Method Detail

      • getAutoReconnect

        boolean getAutoReconnect()
      • getInitReconnect

        boolean getInitReconnect()
      • getRetries

        int getRetries()
        Number of retries
      • getDelay

        int getDelay()
        Delay between retries (in seconds)
      • getAutoSkipForward

        boolean getAutoSkipForward()
        Should we automatically skip forward after a Reconnect. This is only meaningful for Iterators.
      • setAutoSkipForwardUnlessAlreadySet

        void setAutoSkipForwardUnlessAlreadySet​(java.lang.Object value)
        Set the value of autoSkipForward, unless it is already set to a value. For internal use.
        Parameters:
        value - The new value
      • removeParameterValues

        void removeParameterValues()
        Remove all parameter values, to prepare for inheritance
      • getReconnectRules

        ContainerConfig getReconnectRules()
        Returns:
        The container with the reconnect rules of this configuration object.
        Since:
        7.0
      • newReconnectRule

        ReconnectRuleConfig newReconnectRule()
                                      throws java.lang.Exception
        Create a new reconnect rule and add it to the internal container.
        Returns:
        The new reconnect rule.
        Throws:
        java.lang.Exception - A problem while creating the rule.
        Since:
        7.0
      • getFailoverOption

        boolean getFailoverOption()
        Returns:
        true if Failover is enabled for this Connector.
        Since:
        7.2
      • getFailoverConnectorName

        java.lang.String getFailoverConnectorName()
        Returns:
        the name of the Connector used for Failover.
        Since:
        7.2
      • getFailbackAfter

        int getFailbackAfter()
        Returns:
        seconds to wait before attempting an automatic Failback.
        Since:
        7.2