Lines Matching defs:MonitoredHost

50 public abstract class MonitoredHost {
51 private static Map<HostIdentifier, MonitoredHost> monitoredHosts =
52 new HashMap<HostIdentifier, MonitoredHost>();
56 * this property is used as the class name for the concrete MonitoredHost
66 "sun.jvmstat.monitor.MonitoredHost";
104 * The default class name of the MonitoredHost implementation subclass.
113 * The HostIdentifier for this MonitoredHost instance.
118 * The polling interval, in milliseconds, for this MonitoredHost instance.
123 * The last Exception encountered while polling this MonitoredHost.
128 * Factory method to construct MonitoredHost instances to manage
132 * @return MonitoredHost - the MonitoredHost instance for communicating
140 public static MonitoredHost getMonitoredHost(String hostIdString)
147 * Factory method to construct a MonitoredHost instance to manage the
153 * used to create the MonitoredHost instance.
156 * @return MonitoredHost - The MonitoredHost object needed to attach to
161 public static MonitoredHost getMonitoredHost(VmIdentifier vmid)
169 * Factory method to construct a MonitoredHost instance to manage the
173 * @return MonitoredHost - The MonitoredHost object needed to attach to
178 public static MonitoredHost getMonitoredHost(HostIdentifier hostId)
185 MonitoredHost mh = null;
214 mh = (MonitoredHost)cons.newInstance(new Object[] { hostId } );
290 * Return the resolved HostIdentifier for this MonitoredHost.
298 /* ---- Methods to support polled MonitoredHost Implementations ----- */
301 * Set the polling interval for this MonitoredHost.
312 * @return int - the polling interval in milliseconds for this MonitoredHost
319 * Set the last exception encountered while polling this MonitoredHost.
328 * Get the last exception encountered while polling this MonitoredHost.
331 * MonitoredHost, or <tt>null</tt> if no exception
346 * Test if this MonitoredHost is in the errored state. If this method
350 * @return boolean - true if the MonitoredHost instance has experienced
393 * of HostListener objects to be notified of MonitoredHost related events.
403 * of HostListener objects to be notified of MonitoredHost related events.
413 * MonitoredHost. The returned Set contains {@link Integer} instances
418 * with this MonitoredHost, or the empty set of none.