Class MdbContainerProps


  • public final class MdbContainerProps
    extends Object
    Represents the properties of MDBContainer.
    Author:
    Binod P.G
    • Constructor Detail

      • MdbContainerProps

        public MdbContainerProps()
    • Method Detail

      • setMaxRuntimeExceptions

        public static void setMaxRuntimeExceptions​(int v)
        Sets the max runtime exception that are allowed.
        Parameters:
        v - value.
      • getMaxRuntimeExceptions

        public static int getMaxRuntimeExceptions()
        Retrives the max runtime exception that are allowed.
        Returns:
        int value
      • setReconnectDelay

        public static void setReconnectDelay​(int v)
        Sets the reconnect delay in seconds.
        Parameters:
        v - value.
      • getReconnectDelay

        public static int getReconnectDelay()
        Retrieves the reconnect delay in seconds.
        Returns:
        int value
      • setReconnectMaxRetries

        public static void setReconnectMaxRetries​(int v)
        Sets the reconnect max retries.
        Parameters:
        v - value.
      • getReconnectMaxRetries

        public static int getReconnectMaxRetries()
        Gets the reconnect max retries.
        Returns:
        int value
      • setReconnectEnabled

        public static void setReconnectEnabled​(boolean v)
        Sets reconnect enabled flag.
        Parameters:
        v - value.
      • getReconnectEnabled

        public static boolean getReconnectEnabled()
        Gets reconnect enabled flag.
        Returns:
        boolean indicating whether reconnect is enabled or not.