Package com.apama.engine
Interface EngineStatus
- 
 public interface EngineStatusEngineStatus represents the operational status of the correlator.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getAllValues()A map of all status items.doublegetMostBackedUpICLatency()For the context identified by the slowest context name, this is the time difference in seconds between its current logical time and the most recent time tick added to its input queue.java.lang.StringgetMostBackedUpInput()The name of the slowest context.intgetMostBackedUpQueueSize()The number of events on the slowest context's queue, as identified by the name of the slowest context.intgetNumConsumers()The number of external consumers/receivers connected to receive emitted events.intgetNumContexts()The number of contexts in the correlator, including the main context.intgetNumEventTypes()The number of event types defined within the correlator.longgetNumFastTracked()The number of events that have been routed across all contexts since the correlator was started.intgetNumInputQueuedInput()The number of events on the input queues of all public contexts.intgetNumJavaApplications()The number of Java applications and Java EPL plug-ins loaded in the correlator.intgetNumListeners()The number of listeners in all contexts.intgetNumMonitors()The number of EPL monitor definitions injected into the correlator.longgetNumOutEventsCreated()The number of events that have been sent or emitted to channels which have at least one external consumer/receiver subscribed.intgetNumOutEventsQueued()The number of events waiting on output queues to be dispatched to any connected external consumers/receivers.longgetNumOutEventsSent()The number of events that have been delivered to external consumers/receivers.longgetNumProcessed()The number of events processed by the correlator in all contexts.intgetNumProcesses()The number of monitor instances, also known as sub-monitors.intgetNumQueuedFastTrack()The sum of routed events on the route queues of all contexts.intgetNumQueuedInput()The number of executors on the input queues of all contexts.longgetNumReceived()The number of events that the correlator has received from external sources since the correlator started.intgetNumSubListeners()The number of sub-event-listeners that are active across all contexts.java.lang.StringgetSlowestReceiver()The name of the consumer/receiver with the largest number of incoming events waiting to be processed.intgetSlowestReceiverQueueSize()The number of events on the slowest consumer's/receiver's queue, as identified by the name of the slowest consumer/receiver.longgetUptime()The time in milliseconds since the correlator was started.booleangetUserBool(java.lang.String key)Get a user value of type booleanbooleangetUserBoolOr(java.lang.String key, boolean alt)Get a user value of type boolean or the alt value if it cannot be foundfloatgetUserFloat(java.lang.String key)Get a user value of type floatfloatgetUserFloatOr(java.lang.String key, float alt)Get a user value of type float or the alt value if it cannot be foundintgetUserInt(java.lang.String key)Get a user value of type intintgetUserIntOr(java.lang.String key, int alt)Get a user value of type int or the alt value if it cannot be foundjava.lang.StringgetUserString(java.lang.String key)Get a user value of type Stringjava.lang.StringgetUserStringOr(java.lang.String key, java.lang.String alt)Get a user value of type String or the alt value if it cannot be foundjava.lang.StringtoString()A descriptive string containing all of the status information.
 
- 
- 
- 
Method Detail- 
getUptimelong getUptime() The time in milliseconds since the correlator was started.
 - 
getNumReceivedlong getNumReceived() The number of events that the correlator has received from external sources since the correlator started.
 - 
getNumProcessedlong getNumProcessed() The number of events processed by the correlator in all contexts.
 - 
getNumFastTrackedlong getNumFastTracked() The number of events that have been routed across all contexts since the correlator was started.
 - 
getNumOutEventsCreatedlong getNumOutEventsCreated() The number of events that have been sent or emitted to channels which have at least one external consumer/receiver subscribed.
 - 
getNumOutEventsSentlong getNumOutEventsSent() The number of events that have been delivered to external consumers/receivers. This counts for each external consumer/receiver an event is sent to.
 - 
getNumContextsint getNumContexts() The number of contexts in the correlator, including the main context.
 - 
getNumMonitorsint getNumMonitors() The number of EPL monitor definitions injected into the correlator.
 - 
getNumProcessesint getNumProcesses() The number of monitor instances, also known as sub-monitors.
 - 
getNumJavaApplicationsint getNumJavaApplications() The number of Java applications and Java EPL plug-ins loaded in the correlator.
 - 
getNumListenersint getNumListeners() The number of listeners in all contexts.
 - 
getNumSubListenersint getNumSubListeners() The number of sub-event-listeners that are active across all contexts.
 - 
getNumEventTypesint getNumEventTypes() The number of event types defined within the correlator.
 - 
getNumQueuedFastTrackint getNumQueuedFastTrack() The sum of routed events on the route queues of all contexts.
 - 
getNumQueuedInputint getNumQueuedInput() The number of executors on the input queues of all contexts. As well as events, this can include clock ticks, spawns, injections and other operations.
 - 
getNumConsumersint getNumConsumers() The number of external consumers/receivers connected to receive emitted events.
 - 
getNumOutEventsQueuedint getNumOutEventsQueued() The number of events waiting on output queues to be dispatched to any connected external consumers/receivers.
 - 
toStringjava.lang.String toString() A descriptive string containing all of the status information. The string returned is a multi-line string with each line stating the status item and its value.- Overrides:
- toStringin class- java.lang.Object
 
 - 
getAllValuesjava.util.Map<java.lang.String,java.lang.String> getAllValues() A map of all status items.
 - 
getMostBackedUpInputjava.lang.String getMostBackedUpInput() The name of the slowest context.
 - 
getMostBackedUpQueueSizeint getMostBackedUpQueueSize() The number of events on the slowest context's queue, as identified by the name of the slowest context.
 - 
getSlowestReceiverjava.lang.String getSlowestReceiver() The name of the consumer/receiver with the largest number of incoming events waiting to be processed.
 - 
getSlowestReceiverQueueSizeint getSlowestReceiverQueueSize() The number of events on the slowest consumer's/receiver's queue, as identified by the name of the slowest consumer/receiver.
 - 
getUserIntint getUserInt(java.lang.String key) throws EngineExceptionGet a user value of type int- Parameters:
- key- The user status to look up
- Returns:
- The value of the the status
- Throws:
- EngineException- If the key cannot be found or there is a type mismatch
 
 - 
getUserIntOrint getUserIntOr(java.lang.String key, int alt) throws EngineExceptionGet a user value of type int or the alt value if it cannot be found- Parameters:
- key- The user status to look up
- alt- The alternate value to return
- Returns:
- The value of the the status or the alternate value if the key does not exist
- Throws:
- EngineException- If there is a type mismatch
 
 - 
getUserFloatfloat getUserFloat(java.lang.String key) throws EngineExceptionGet a user value of type float- Parameters:
- key- The user status to look up
- Returns:
- The value of the the status
- Throws:
- EngineException- If the key cannot be found or there is a type mismatch
 
 - 
getUserFloatOrfloat getUserFloatOr(java.lang.String key, float alt) throws EngineExceptionGet a user value of type float or the alt value if it cannot be found- Parameters:
- key- The user status to look up
- alt- The alternate value to return
- Returns:
- The value of the the status or the alternate value if the key does not exist
- Throws:
- EngineException- If there is a type mismatch
 
 - 
getUserStringjava.lang.String getUserString(java.lang.String key) throws EngineExceptionGet a user value of type String- Parameters:
- key- The user status to look up
- Returns:
- The value of the the status
- Throws:
- EngineException- If the key cannot be found or there is a type mismatch
 
 - 
getUserStringOrjava.lang.String getUserStringOr(java.lang.String key, java.lang.String alt) throws EngineExceptionGet a user value of type String or the alt value if it cannot be found- Parameters:
- key- The user status to look up
- alt- The alternate value to return
- Returns:
- The value of the the status or the alternate value if the key does not exist
- Throws:
- EngineException- If there is a type mismatch
 
 - 
getUserBoolboolean getUserBool(java.lang.String key) throws EngineExceptionGet a user value of type boolean- Parameters:
- key- The user status to look up
- Returns:
- The value of the the status
- Throws:
- EngineException- If the key cannot be found or there is a type mismatch
 
 - 
getUserBoolOrboolean getUserBoolOr(java.lang.String key, boolean alt) throws EngineExceptionGet a user value of type boolean or the alt value if it cannot be found- Parameters:
- key- The user status to look up
- alt- The alternate value to return
- Returns:
- The value of the the status or the alternate value if the key does not exist
- Throws:
- EngineException- If there is a type mismatch
 
 - 
getNumInputQueuedInputint getNumInputQueuedInput() The number of events on the input queues of all public contexts.
 - 
getMostBackedUpICLatencydouble getMostBackedUpICLatency() For the context identified by the slowest context name, this is the time difference in seconds between its current logical time and the most recent time tick added to its input queue.
 
- 
 
-