com.ibm.ia.runtime.management
Interface AgentStatsMXBean
-
@MXBean public interface AgentStatsMXBean
Provides statistics for agents and events. Note that you have to call the bean on each partition to get the statistics for that partition.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
TYPE
-
Method Summary
Methods Modifier and Type Method and Description int
getAgentCount()
The number of times agents have processed an event.java.util.Map<java.lang.String,java.util.List<InvocationStats>>
getAgentStats()
Returns a list of InvocationStats for individual agents in a map keyed by the event type.java.util.List<InvocationStats>
getAgentStats(java.lang.String type)
Returns a list of InvocationStats for individual agents corresponding to the event identified by type.long
getAgentTime()
The amount of time in nanoseconds taken to process all agent calls.long
getEngineCacheHits()
The number of times an engine was retrieved from cache.long
getEngineCacheMisses()
The number of times an engine was created.int
getEventCount()
The number of times events have fired.java.util.List<InvocationStats>
getEventStats()
Returns a list of InvocationStats for individual events.InvocationStats
getEventStats(java.lang.String type)
Returns an InvocationStats for the event having a class name matching thetype
argument.long
getEventTime()
The amount of time in nanoseconds taken to process all events.long
getTriggerTime()
The amount of time in nanoseconds taken to process all triggered calls.void
resetStats()
Reset the server statistics to their initial values
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEventCount
int getEventCount()
The number of times events have fired.- Returns:
- A count of events.
-
getAgentCount
int getAgentCount()
The number of times agents have processed an event.- Returns:
- A count of agent processes.
-
getEventTime
long getEventTime()
The amount of time in nanoseconds taken to process all events.- Returns:
- A time in nanoseconds.
-
getAgentTime
long getAgentTime()
The amount of time in nanoseconds taken to process all agent calls.- Returns:
- A time in nanoseconds.
-
getTriggerTime
long getTriggerTime()
The amount of time in nanoseconds taken to process all triggered calls.- Returns:
- A time in nanoseconds.
-
getEngineCacheHits
long getEngineCacheHits()
The number of times an engine was retrieved from cache.- Returns:
- A count of cache retrieval.
-
getEngineCacheMisses
long getEngineCacheMisses()
The number of times an engine was created.- Returns:
- A count of creations.
-
getEventStats
java.util.List<InvocationStats> getEventStats()
Returns a list of InvocationStats for individual events.- Returns:
- A list of event stats.
- See Also:
InvocationStats
-
getEventStats
InvocationStats getEventStats(java.lang.String type)
Returns an InvocationStats for the event having a class name matching thetype
argument.- Parameters:
type
- The fully qualified class name of the event.- Returns:
- The event stats.
- See Also:
InvocationStats
-
getAgentStats
java.util.Map<java.lang.String,java.util.List<InvocationStats>> getAgentStats()
Returns a list of InvocationStats for individual agents in a map keyed by the event type.- Returns:
- A Map with the event types (key) and List of InvocationStats (value)
- See Also:
InvocationStats
-
getAgentStats
java.util.List<InvocationStats> getAgentStats(java.lang.String type)
Returns a list of InvocationStats for individual agents corresponding to the event identified by type.- Parameters:
type
- The fully qualified class name of the event.- Returns:
- A List of InvocationStats, each of which contains an agent name, count and time
- See Also:
InvocationStats
-
resetStats
void resetStats()
Reset the server statistics to their initial values
-
-