Interface IHealthMonitorConfigurationUpdatable
public interface IHealthMonitorConfigurationUpdatable
Health Check configuration
- Author:
- I-D Media AG
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetActionOnDeath(@NotNull String sValue) Get action on death of a service/modulevoidsetAssumeDeadAfterMinutes(int nMinutes) Assume a process died after this amount of minutesvoidsetHibernateConnectionCheckSleep(int nMinutes) How long should the hibernate connection module sleep between each turnvoidsetMemoryExceedThresholdWarning(int nValue) Get the threshold to be evaulated.voidsetSendNotificationOnDeath(boolean bValue) Send an email notification after the death of a modulevoidsetSleepTimeInMinutes(int nMinutes) Get the delay between two runs
-
Method Details
-
setSleepTimeInMinutes
void setSleepTimeInMinutes(int nMinutes) Get the delay between two runs- Parameters:
nMinutes-
-
setActionOnDeath
Get action on death of a service/module- Parameters:
sValue- may be either restart or shutdown
-
setAssumeDeadAfterMinutes
void setAssumeDeadAfterMinutes(int nMinutes) Assume a process died after this amount of minutes- Parameters:
nMinutes- Minimum is 30mins
-
setSendNotificationOnDeath
void setSendNotificationOnDeath(boolean bValue) Send an email notification after the death of a module- Parameters:
bValue-
-
setMemoryExceedThresholdWarning
void setMemoryExceedThresholdWarning(int nValue) Get the threshold to be evaulated. If memory usage exceeds this value, a warning will be sent to the administrator.- Parameters:
nValue-
-
setHibernateConnectionCheckSleep
void setHibernateConnectionCheckSleep(int nMinutes) How long should the hibernate connection module sleep between each turn- Parameters:
nMinutes-
-