public class HostMonitorThreadContainer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static HostMonitorThreadContainer |
getInstance()
Create an instance of the
HostMonitorThreadContainer. |
java.util.Map<java.lang.String,HostMonitor> |
getMonitorMap() |
java.util.Map<HostMonitor,java.util.concurrent.Future<?>> |
getTasksMap() |
static void |
releaseInstance()
Release resources held in the
HostMonitorThreadContainer and clear references to the
container. |
void |
releaseResource(HostMonitor monitor)
Remove references to the given
HostMonitorImpl object and stop the background monitoring
thread. |
void |
releaseResources() |
public static HostMonitorThreadContainer getInstance()
HostMonitorThreadContainer.HostMonitorThreadContainer.public static void releaseInstance()
HostMonitorThreadContainer and clear references to the
container.public java.util.Map<java.lang.String,HostMonitor> getMonitorMap()
public java.util.Map<HostMonitor,java.util.concurrent.Future<?>> getTasksMap()
public void releaseResource(HostMonitor monitor)
HostMonitorImpl object and stop the background monitoring
thread.monitor - The HostMonitorImpl representing a monitoring thread.public void releaseResources()