Apama
9.10.0.4.289795
|
EngineStatus represents the operational status of the Engine. More...
#include <engine_client_cpp.hpp>
Classes | |
class | StatusIterator |
A class used for the iterating through all status items. More... | |
Public Types | |
typedef StatusIterator | iterator |
Iterator type. More... | |
typedef StatusIterator | const_iterator |
Iterator type for const EngineStatus. More... | |
Public Member Functions | |
AP_uint64 | getUptime () const |
Get the time in ms that the Engine has been running for. More... | |
AP_uint32 | getNumContexts () const |
Get the number of contexts active in the Engine. More... | |
AP_uint32 | getNumMonitors () const |
Get the number of monitors defined in the Engine. More... | |
AP_uint32 | getNumProcesses () const |
Get the number of monitor processes or active sub-monitors. More... | |
AP_uint32 | getNumJavaApplications () const |
Get the number of Java (JMon) Applications defined in the Engine. More... | |
AP_uint32 | getNumListeners () const |
Get the number of active listeners. More... | |
AP_uint32 | getNumEventTypes () const |
Get the number of event types defined in the Engine. More... | |
AP_uint32 | getNumQueuedFastTrack () const |
Get the total number of events waiting on the route queues (value of 'rq' in the correlator status line). More... | |
AP_uint32 | getNumQueuedInput () const |
Get the total number of events waiting on the input queues (value of 'iq' in the correlator status line). More... | |
AP_uint64 | getNumReceived () const |
Get the number of events received since the Engine started. More... | |
AP_uint64 | getNumFastTracked () const |
Get the number of events received on the internal input queue since the Engine started. More... | |
AP_uint32 | getNumConsumers () const |
Get the number of event consumers connected to the engine. More... | |
AP_uint32 | getNumOutEventsQueued () const |
Get the number of events waiting on the output queue. More... | |
AP_uint64 | getNumOutEventsCreated () const |
Get the number of output events which have been put onto the output queue. More... | |
AP_uint64 | getNumOutEventsSent () const |
This is the number of output events sent out by the correlator process. More... | |
AP_uint32 | getNumInputQueuedInput () const |
Get the total number of events on input contexts' queues. More... | |
const AP_char8 * | getMostBackedUpInput () const |
Get the name of the most backed up context. More... | |
const AP_char8 * | getSlowestReceiver () const |
Get the name of the slowest receiver. More... | |
AP_uint32 | getSlowestReceiverQueueSize () const |
Get the queue size of the slowest receiver. More... | |
AP_uint32 | getMostBackedUpQueueSize () const |
Get the queue size of the most backed up context. More... | |
AP_uint32 | getNumSubListeners () const |
Get the number of active sub-listeners. More... | |
AP_uint64 | getNumProcessed () const |
Get the number of events taken off the input queue and processed since the engine started. More... | |
const_iterator | begin () const |
Returns an instance of the StatusIterator which allows to iterate over all status items. More... | |
const_iterator | end () const |
Returns an instance of the StatusIterator which allows to iterate over all status items. More... | |
const AP_char8 * | operator[] (const char *ref) const |
Returns the value of the status item with the given key. More... | |
const AP_char8 * | operator[] (std::string &ref) const |
Returns the value of the status item with the given key. More... | |
AP_int64 | getUserInt (const char *key) |
Get a user value of type AP_int64. More... | |
AP_int64 | getUserIntOr (const char *key, int alt) |
Get a user value of type AP_int64 or the alt value if it cannot be found. More... | |
AP_float64 | getUserFloat (const char *key) |
Get a user value of type AP_float64. More... | |
AP_float64 | getUserFloatOr (const char *key, float alt) |
Get a user value of type AP_float64 or the alt value if it cannot be found. More... | |
AP_bool | getUserBool (const char *key) |
Get a user value of type AP_bool. More... | |
AP_bool | getUserBoolOr (const char *key, bool alt) |
Get a user value of type AP_bool or the alt value if it cannot be found. More... | |
const AP_char8 * | getUserString (const char *key) |
Get a user value of type AP_char8*. More... | |
const AP_char8 * | getUserStringOr (const char *key, const char *alt) |
Get a user value of type AP_char8* or the alt value if it cannot be found. More... | |
std::string | getAllStatusValues () |
Get all the status values available, formatted for terminal output. More... | |
std::string | getStandardStatusValues () |
Get the standard status values, formatted for terminal output. More... | |
std::string | getRawHeaderAll () |
Get a header for the raw output, useful for indentifying values. More... | |
std::string | getStandardStatusValuesRaw () |
Get the standard status values, formatted for parsers (values seperated by ,). More... | |
std::string | getAllStatusValuesRaw () |
Get all the status values available, formatted for parsers (values seperated by ,). More... | |
~EngineStatus () | |
Destroy the underlying status data. More... | |
EngineStatus (const EngineStatus &other) | |
Copy constructor. More... | |
EngineStatus & | operator= (const EngineStatus &other) |
Copy assignment. More... | |
EngineStatus () | |
Create a default-constructed (empty) EngineStatus. More... | |
Static Public Member Functions | |
static std::string | getRawHeader () |
Get a header for the raw output, useful for indentifying values. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const EngineStatus &obj) |
Stream output operator for a reference. More... | |
std::ostream & | operator<< (std::ostream &stream, const EngineStatus *obj) |
Stream output operator for a pointer. More... | |
EngineStatus represents the operational status of the Engine.
EngineStatus objects are returned by com::apama::engine::EngineManagement::getStatus
Iterator type for const EngineStatus.
Iterator type.
|
inline |
Destroy the underlying status data.
|
inline |
Copy constructor.
|
inline |
Create a default-constructed (empty) EngineStatus.
Valid EngineStatus objects are returned by EngineManagement::getStatus.
|
inline |
Returns an instance of the StatusIterator which allows to iterate over all status items.
|
inline |
Returns an instance of the StatusIterator which allows to iterate over all status items.
|
inline |
Get all the status values available, formatted for terminal output.
This includes any user statuses.
|
inline |
Get all the status values available, formatted for parsers (values seperated by ,).
This includes any user statuses.
|
inline |
Get the name of the most backed up context.
|
inline |
Get the queue size of the most backed up context.
|
inline |
Get the number of event consumers connected to the engine.
|
inline |
Get the number of contexts active in the Engine.
|
inline |
Get the number of event types defined in the Engine.
|
inline |
Get the number of events received on the internal input queue since the Engine started.
|
inline |
Get the total number of events on input contexts' queues.
|
inline |
Get the number of Java (JMon) Applications defined in the Engine.
|
inline |
Get the number of active listeners.
|
inline |
Get the number of monitors defined in the Engine.
|
inline |
Get the number of output events which have been put onto the output queue.
This correpsonds to the number of MonitorScript emit commands executed.
|
inline |
Get the number of events waiting on the output queue.
|
inline |
This is the number of output events sent out by the correlator process.
This differs from getNumOutEventsCreated since events can be of interest to a varying number of consumers, and can be dropped by the output queue.
|
inline |
Get the number of events taken off the input queue and processed since the engine started.
|
inline |
Get the number of monitor processes or active sub-monitors.
If a monitor spawns it creates a new process.
|
inline |
Get the total number of events waiting on the route queues (value of 'rq' in the correlator status line).
|
inline |
Get the total number of events waiting on the input queues (value of 'iq' in the correlator status line).
|
inline |
Get the number of events received since the Engine started.
|
inline |
Get the number of active sub-listeners.
|
inlinestatic |
Get a header for the raw output, useful for indentifying values.
|
inline |
Get a header for the raw output, useful for indentifying values.
This includes any user statuses.
|
inline |
Get the name of the slowest receiver.
|
inline |
Get the queue size of the slowest receiver.
|
inline |
Get the standard status values, formatted for terminal output.
|
inline |
Get the standard status values, formatted for parsers (values seperated by ,).
|
inline |
Get the time in ms that the Engine has been running for.
|
inline |
Get a user value of type AP_bool.
EngineException. |
|
inline |
Get a user value of type AP_bool or the alt value if it cannot be found.
EngineException. |
|
inline |
|
inline |
Get a user value of type AP_float64 or the alt value if it cannot be found.
EngineException. |
|
inline |
Get a user value of type AP_int64.
EngineException. |
|
inline |
Get a user value of type AP_int64 or the alt value if it cannot be found.
EngineException. |
|
inline |
Get a user value of type AP_char8*.
EngineException. |
|
inline |
Get a user value of type AP_char8* or the alt value if it cannot be found.
EngineException. |
|
inline |
Copy assignment.
|
inline |
Returns the value of the status item with the given key.
|
inline |
Returns the value of the status item with the given key.
|
friend |
Stream output operator for a reference.
|
friend |
Stream output operator for a pointer.