public class AgentMonitor extends java.lang.Object implements AgentMonitorMBean
AgentMonitorMBean.| Modifier and Type | Field and Description |
|---|---|
private AgentPool |
pool
The appserver agent pool being monitored.
|
| Constructor and Description |
|---|
AgentMonitor(AgentPool pool)
Initialize this instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAvailableAgents()
Get the number of agents available for work.
|
int |
getMaxAgents()
Get the number of maximum agents.
|
int |
getRunningAgents()
Get the number of running agents (waiting for or busy doing work).
|
private AgentPool pool
public AgentMonitor(AgentPool pool)
pool - The appserver agent pool.public int getMaxAgents()
getMaxAgents in interface AgentMonitorMBeanpublic int getRunningAgents()
getRunningAgents in interface AgentMonitorMBeanpublic int getAvailableAgents()
getAvailableAgents in interface AgentMonitorMBean