|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgentStats
Statistics for an agent. Select configuration settings are also included.
Access to an agent's configuration settings may be locked (see
Agent.getConfig(Object, Object, Object)
), but some read-only access
is provided here as part of the agent's overall statistical profile.
Agent.getStats(Object)
Method Summary | |
---|---|
int |
getAcceptedCapacity()
Returns the maximum number of messages the agent will immediately queue for processing. |
int |
getCurrentAccepted()
Returns the number of messages currently accepted by the agent. |
int |
getCurrentExecuting()
Returns the number of messages the agent is currently executing. |
int |
getCurrentPending()
Returns the number of callers currently suspended by the agent. |
long |
getDeadcheckTimeout()
Returns the length of time synchronous calls wait before checking if the caller's thread has deadlocked. |
TimeUnit |
getDeadcheckTimeoutUnit()
Returns the deadlock check timeout unit. |
int |
getPendingCapacity()
Returns the maximum number of callers the agent can suspend while waiting for new messages to be accepted. |
long |
getPendingTimeout()
Returns the length of time the caller will wait for the agent to accept a new message. |
TimeUnit |
getPendingTimeoutUnit()
Returns the pending timeout unit. |
Method Detail |
---|
int getAcceptedCapacity()
Capacity
int getCurrentAccepted()
int getPendingCapacity()
Capacity
long getPendingTimeout()
Capacity
TimeUnit getPendingTimeoutUnit()
Capacity
int getCurrentPending()
Capacity
int getCurrentExecuting()
long getDeadcheckTimeout()
AgentConfig.setDeadcheckTimeout(long, TimeUnit)
TimeUnit getDeadcheckTimeoutUnit()
AgentConfig.setDeadcheckTimeout(long, TimeUnit)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |