Developing Apama Applications > Developing Clients > The C++ and Java Client Software Development Kits > The library classes > Event correlator interrogation and status
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:
*The number of monitors
*The number of event types
*The number of container types
*Information about the monitors
This provides the name of every monitor and the number of instances of each monitor.
*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.
*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
*The time in milliseconds that the correlator has been running
*The number of monitors defined in the correlator
*The number of monitor processes or active monitor instances (if a monitor spawns it creates a new process)
*The number of active listeners
*The number of event types defined
*Across all contexts, the total number of routed events waiting on input queues
*Across all contexts and excluding routed events, the total number of events waiting on input queues
*Across all contexts, the total number of events received on input queues since the correlator started
*The number of events that have been routed since the correlator was started
*The number of event consumers connected to the correlator
*The number of events waiting on the output queue
*The number of events that have been discarded from the output queue since the correlator started
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.