Class StatefulServiceClientTuning

java.lang.Object
com.highdeal.cnd.message.ServiceClientTuning
com.highdeal.cnd.message.StatefulServiceClientTuning

public class StatefulServiceClientTuning extends ServiceClientTuning
  • Field Details

    • RATER_DOWN_NOTIFICATION_DEFAULT_TIMEOUT

      public static final int RATER_DOWN_NOTIFICATION_DEFAULT_TIMEOUT
      Constant describing the default value of the timeout of the rater down notification (is 10000 ms).
      See Also:
  • Constructor Details

  • Method Details

    • getRaterDownNotificationTimeout

      public int getRaterDownNotificationTimeout()
      Returns the timeout in millisecond of the rater down request.
      Returns:
      A duration in millisecond
    • setRaterDownNotificationTimeout

      public void setRaterDownNotificationTimeout(int timeout)
      Sets the timeout in millisecond of the rater down request.

      This timeout describes the maximum duration the charging client has to expect a response from the SAP CC Core Server system when a rater instance is no more connected with the charging client. If this timeout is too small, the server may not have the time to return its response and will make the client switch to the next backup. If too long the heartbeat process will be interrupted. Prevents the client to be lock a long time if the backup are down. Its default value is RATER_DOWN_NOTIFICATION_DEFAULT_TIMEOUT. This timeout must be set according to server parameters

      Throws:
      IllegalArgumentException - if timeout is out of range