public interface HealthCenterData
extends javax.management.NotificationEmitter
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAllRecommendations()
Gets all the recommendations.
|
java.lang.String[] |
getCriticalRecommendations()
Gets the critical recommendations.
|
java.lang.String[] |
getHealthyRecommendations()
Gets the recommendations that indicate that the system is healthy.
|
java.lang.String[] |
getInformationalRecommendations()
Gets the informational recommendations.
|
java.lang.String[] |
getWarningRecommendations()
Gets just the warning recommendations.
|
void |
startNotifying()
Starts a thread which checks for changes in the data every 2000 milliseconds and sends notifications
if an update has occurred.
|
void |
startNotifying(long delay)
Starts a thread which checks for changes in the data and sends notifications
if an update has occurred.
|
java.lang.String[] getAllRecommendations()
java.lang.String[] getWarningRecommendations()
java.lang.String[] getInformationalRecommendations()
java.lang.String[] getCriticalRecommendations()
java.lang.String[] getHealthyRecommendations()
void startNotifying()
NotificationListener
needs to be added to the object the thread is being started from.void startNotifying(long delay)
NotificationListener
needs to be added to the object the thread is being started from.delay
- The number of milliseconds between each update. The default is
2000 milliseconds and anything below this will not be accepted.