Event correlator interrogation and status
A developer can enquire as to what definitions are present within a correlator. This can be achieved by calling the inspectEngine method on EngineManagement. This returns a com::apama::engine::EngineInfo or com.apama.engine.EngineInfo object, from which one can obtain:
![*](bullet1.png)
The number of monitors
![*](bullet1.png)
The number of event types
![*](bullet1.png)
The number of container types
![*](bullet1.png)
Information about the monitors
This provides the name of every monitor and the number of instances of each monitor.
![*](bullet1.png)
Information about the event types
This returns the name of every defined event type and indicates how many event templates are in use for each type.
![*](bullet1.png)
Information about the container types
This returns the name of every defined container type.
A developer can request the correlator’s current operational status by calling the getStatus method on EngineManagement. This returns a com::apama::engine::EngineStatus or com.apama.engine.EngineStatus object, which contains several runtime operational parameters, including
![*](bullet1.png)
The time in milliseconds that the correlator has been running
![*](bullet1.png)
The number of monitors defined in the correlator
![*](bullet1.png)
The number of monitor processes or active monitor instances (if a monitor spawns it creates a new process)
![*](bullet1.png)
The number of active listeners
![*](bullet1.png)
The number of event types defined
![*](bullet1.png)
Across all contexts, the total number of routed events waiting on input queues
![*](bullet1.png)
Across all contexts and excluding routed events, the total number of events waiting on input queues
![*](bullet1.png)
Across all contexts, the total number of events received on input queues since the correlator started
![*](bullet1.png)
The number of events that have been routed since the correlator was started
![*](bullet1.png)
The number of event consumers connected to the correlator
![*](bullet1.png)
The number of events waiting on the output queue
![*](bullet1.png)
The number of events that have been discarded from the output queue since the correlator started