/** * Raise an alert if the number of packets in the redo log is above the specified threshold. * * @see ReplicationRedoLogSizeAlertConfiguration#setHighThresholdRedoLogSize(int) * @param highThreshold high threshold redo-log size. * @return this. */ public ReplicationRedoLogSizeAlertConfigurer raiseAlertIfRedoLogSizeAbove(int highThreshold) { config.setHighThresholdRedoLogSize(highThreshold); return this; }
/** * Resolve a previously raised alert if the number of packets in the redo log goes below the * specified threshold. * * @see ReplicationRedoLogSizeAlertConfiguration#setLowThresholdRedoLogSize(int) * @param lowThreshold low threshold size. * @return this. */ public ReplicationRedoLogSizeAlertConfigurer resolveAlertIfRedoLogSizeBelow(int lowThreshold) { config.setLowThresholdRedoLogSize(lowThreshold); return this; }
/* * (non-Javadoc) * @see org.openspaces.admin.alert.config.AlertConfigurer#enable(boolean) */ @Override public ReplicationRedoLogSizeAlertConfigurer enable(boolean enabled) { config.setEnabled(enabled); return this; }