public interface DiskSpaceMonitorHandler
Modifier and Type | Method and Description |
---|---|
void |
diskFullThresholdReached(File directory,
long thresholdInBytes)
Notifies that the registered "full" threshold have been reached.
|
void |
diskLowThresholdReached(File directory,
long thresholdInBytes)
Notifies that the registered "low" threshold have been reached.
|
void |
diskSpaceRestored(File directory,
long lowThresholdInBytes,
long fullThresholdInBytes)
Notifies that the free disk space is now above both "low" and "full" thresholds.
|
void diskLowThresholdReached(File directory, long thresholdInBytes)
directory
- the directory for which the threshold has been triggeredthresholdInBytes
- the threshold value in bytesvoid diskFullThresholdReached(File directory, long thresholdInBytes)
directory
- the directory for which the threshold has been triggeredthresholdInBytes
- the threshold value in bytesvoid diskSpaceRestored(File directory, long lowThresholdInBytes, long fullThresholdInBytes)
directory
- the directory for which the threshold has been triggeredTODOlowThresholdInBytes
- the low threshold value in bytesfullThresholdInBytes
- the full threshold value in bytesCopyright 2010-2022 ForgeRock AS.