Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private static Map<String,Set<IAgentMonitorListener>> |
agentListeners |
private static Map<Integer,AgentMonitor> |
agentServerInstance |
private Map<String,AgentMonitorThread> |
connectedAgentThreads |
private static Map<IAgentMonitorListener,Integer> |
listener_flags_relation |
private static Logger |
logger |
private ServerSocket |
serverSocket |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier | Constructor and Description |
---|---|
private |
AgentMonitor(String ip,
int port) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private static Logger logger
private static Map<Integer,AgentMonitor> agentServerInstance
private static Map<String,Set<IAgentMonitorListener>> agentListeners
private static Map<IAgentMonitorListener,Integer> listener_flags_relation
private Map<String,AgentMonitorThread> connectedAgentThreads
private ServerSocket serverSocket
private AgentMonitor(String ip, int port) throws IOException
IOException
public static AgentMonitor getInstanceForMpi(int offset)
public static AgentMonitor getInstance()
public static AgentMonitor getInstance(String ip, int port)
protected void addAgentThread(int uniform, String team, AgentMonitorThread agent)
public AgentMonitorThread getAgentThread(int uniform, String team)
protected void removeAgentThread(int uniform, String team, AgentMonitorThread agent)
public static Set<IAgentMonitorListener> getListenersForAllAgents()
public static Set<IAgentMonitorListener> getListenersForAgent(int uniform, String team)
public static void setMessageListener(IAgentMonitorListener listener, int message_type_flags)
public static void removeMessageListener(IAgentMonitorListener listener)
public static void setMessageListener(AgentJim agent, IAgentMonitorListener listener, int message_type_flags)
public static void setMessageListener(int uniform, String team, IAgentMonitorListener listener, int message_type_flags)
public static void removeMessageListener(int uniform, String team, IAgentMonitorListener listener)
public static int getListenerFlags(IAgentMonitorListener listener)