Interface HostsStatisticsMXBean
- All Known Implementing Classes:
HostsStatistics
public interface HostsStatisticsMXBean
JMX Bean interface exposing hosts statistics.
-
Method Summary
Modifier and TypeMethodDescriptionString[]getAll()Gets a list of all hostsString[]Gets a list of hosts in maintenance modeintGets the number of hosts in maintenance modeString[]Gets a list of offline hostsintGets the number of offline hostsString[]Gets a list of online hostsintGets the number of online hostsintGets the total number of hosts
-
Method Details
-
getAll
String[] getAll()Gets a list of all hosts- Returns:
- an array including all hosts
-
getOnline
String[] getOnline()Gets a list of online hosts- Returns:
- an array including online hosts
-
getOffline
String[] getOffline()Gets a list of offline hosts- Returns:
- an array including offline hosts
-
getInMaintenance
String[] getInMaintenance()Gets a list of hosts in maintenance mode- Returns:
- an array including hosts in maintenance mode
-
getTotalCount
int getTotalCount()Gets the total number of hosts- Returns:
- the number of hosts
-
getOnlineCount
int getOnlineCount()Gets the number of online hosts- Returns:
- the number of online hosts
-
getOfflineCount
int getOfflineCount()Gets the number of offline hosts- Returns:
- the number of offline hosts
-
getInMaintenanceCount
int getInMaintenanceCount()Gets the number of hosts in maintenance mode- Returns:
- the number of hosts in maintenance mode
-