示例#1
0
 /** {@inheritDoc} */
 public void diskFullThresholdReached(DiskSpaceMonitor monitor) {
   Message msg =
       ERR_JEB_DISK_FULL_THRESHOLD_REACHED.get(
           monitor.getDirectory().getPath(), cfg.getBackendId(),
           monitor.getFreeSpace(),
               Math.max(monitor.getLowThreshold(), monitor.getFullThreshold()));
   DirectoryServer.sendAlertNotification(this, ALERT_TYPE_DISK_FULL, msg);
 }
示例#2
0
 /** {@inheritDoc} */
 public void diskSpaceRestored(DiskSpaceMonitor monitor) {
   Message msg =
       NOTE_JEB_DISK_SPACE_RESTORED.get(
           monitor.getFreeSpace(),
           monitor.getDirectory().getPath(),
           cfg.getBackendId(),
           Math.max(monitor.getLowThreshold(), monitor.getFullThreshold()));
   logError(msg);
 }