Class BackendReconnectProperties


  • public final class BackendReconnectProperties
    extends Object
    Properties to control reconnect requests.
    • Constructor Detail

      • BackendReconnectProperties

        public BackendReconnectProperties()
    • Method Detail

      • after

        public Duration after()
        Get the after property: Duration in ISO8601 format after which reconnect will be initiated. Minimum duration of the Reconnect is PT2M.
        Returns:
        the after value.
      • withAfter

        public BackendReconnectProperties withAfter​(Duration after)
        Set the after property: Duration in ISO8601 format after which reconnect will be initiated. Minimum duration of the Reconnect is PT2M.
        Parameters:
        after - the after value to set.
        Returns:
        the BackendReconnectProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.