com.apama.engine
Interface EngineStatus


public interface EngineStatus

EngineStatus represents the operational status of the Engine.


Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAllValues()
          Get the map of all status items
 int getNumConsumers()
          Get the number of event consumers connected to the engine.
 int getNumContexts()
          Get the number of contexts active in the Engine.
 int getNumEventTypes()
          Get the number of event types defined.
 long getNumFastTracked()
          Get the number of events received on the internal input queue since the Engine started.
 int getNumJavaApplications()
          Get the number of Java (JMon) Applications defined in the Engine.
 int getNumListeners()
          Get the number of active listeners.
 int getNumMonitors()
          Get the number of monitors defined in the Engine.
 long getNumOutEventsCreated()
          Gets the number of output events which have been put onto the output queue.
 int getNumOutEventsQueued()
          Get the number of events waiting on the output queue.
 long getNumOutEventsSent()
          This is the number of output events sent out by the correlator process.
 long getNumProcessed()
          Get the number of events taken off the input queue and processed since the Engine started.
 int getNumProcesses()
          Get the number of monitor processes or active sub-monitors.
 int getNumQueuedFastTrack()
          Get the number of events waiting on the internal input queue.
 int getNumQueuedInput()
          Get the number of events waiting on the input queue.
 long getNumReceived()
          Get the number of events received since the Engine started.
 int getNumSubListeners()
          Get the number of active sub-listeners.
 long getUptime()
          Get the time in ms that the Engine has been running for.
 java.lang.String toString()
          Get a descriptive string containing all of the status information.
 

Method Detail

getUptime

long getUptime()
Get the time in ms that the Engine has been running for.


getNumReceived

long getNumReceived()
Get the number of events received since the Engine started.


getNumProcessed

long getNumProcessed()
Get the number of events taken off the input queue and processed since the Engine started.


getNumFastTracked

long getNumFastTracked()
Get the number of events received on the internal input queue since the Engine started.


getNumOutEventsCreated

long getNumOutEventsCreated()
Gets the number of output events which have been put onto the output queue. This corresponds to the number of MonitorScript emit commands executed.


getNumOutEventsSent

long getNumOutEventsSent()
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.


getNumContexts

int getNumContexts()
Get the number of contexts active in the Engine.


getNumMonitors

int getNumMonitors()
Get the number of monitors defined in the Engine.


getNumProcesses

int getNumProcesses()
Get the number of monitor processes or active sub-monitors. If a monitor spawns it creates a new process.


getNumJavaApplications

int getNumJavaApplications()
Get the number of Java (JMon) Applications defined in the Engine.


getNumListeners

int getNumListeners()
Get the number of active listeners.


getNumSubListeners

int getNumSubListeners()
Get the number of active sub-listeners.


getNumEventTypes

int getNumEventTypes()
Get the number of event types defined.


getNumQueuedFastTrack

int getNumQueuedFastTrack()
Get the number of events waiting on the internal input queue.


getNumQueuedInput

int getNumQueuedInput()
Get the number of events waiting on the input queue.


getNumConsumers

int getNumConsumers()
Get the number of event consumers connected to the engine.


getNumOutEventsQueued

int getNumOutEventsQueued()
Get the number of events waiting on the output queue.


toString

java.lang.String toString()
Get 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:
toString in class java.lang.Object
Returns:
Multiline status string.

getAllValues

java.util.Map<java.lang.String,java.lang.String> getAllValues()
Get the map of all status items

Returns:
Map containing the status information


Submit a bug or feature
Copyright (c) 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. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG