code: public PeriodicSubscriptionQos setAlertAfterIntervalMs(final long alertAfterIntervalMs) {
          if (alertAfterIntervalMs > MAX_ALERT_AFTER_INTERVAL_MS) {
              this.alertAfterIntervalMs = MAX_ALERT_AFTER_INTERVAL_MS;
              logger.warn("alertAfterInterval_ms > MAX_ALERT_AFTER_INTERVAL_MS. Using MAX_ALERT_AFTER_INTERVAL_MS: {}",
                          MAX_ALERT_AFTER_INTERVAL_MS);
          } else {
              this.alertAfterIntervalMs = alertAfterIntervalMs;
          }
  
          if (this.alertAfterIntervalMs != NO_ALERT_AFTER_INTERVAL && this.alertAfterIntervalMs < periodMs) {
              this.alertAfterIntervalMs = periodMs;
              logger.warn("alertAfterInterval_ms < MIN_ALERT_AFTER_INTERVAL and will therefore be set to the period: {}",
                          periodMs);
          }
          return this;
      }
docs: Set the alertAfterInterval in milliseconds. <br>
  If no notification was received within the last alert interval, a missed
  publication notification will be raised.<br>
  <br>
  <b>Minimum, Maximum, and Default Values:</b>
  <ul>
  <li>The absolute <b>minimum</b> setting is the period value. <br>
  Any value less than period will be replaced by the period setting.
  <li>The absolute <b>maximum</b> setting is 2.592.000.000 milliseconds (30 days). <br>
  Any value bigger than this maximum will be treated at the absolute maximum setting of
  2.592.000.000 milliseconds.
  <li><b>Default</b> setting: 0 milliseconds (no alert).
  (no alert).
  </ul>
  <p>
  Use {@link #clearAlertAfterInterval()} to remove missed publication notifications.
  
  @param alertAfterIntervalMs
  If more than alertInterval_ms pass without receiving a message,
  subscriptionManager will issue a publication missed.
  
  @see #clearAlertAfterInterval()
  @return this (fluent interface).