public interface EngineStatus
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAllValues()
Get the map of all status items
|
java.lang.String |
getMostBackedUpInput()
Get the name of the most backed up context
|
int |
getMostBackedUpQueueSize()
Get the queue size of the most backed up context
|
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 total number of events waiting on the route queues (value of
'rq' in the correlator status line).
|
int |
getNumQueuedInput()
Get the total number of events waiting on the input queues (value of
'iq' in the correlator status line).
|
long |
getNumReceived()
Get the number of events received since the Engine
started.
|
int |
getNumSubListeners()
Get the number of active sub-listeners.
|
java.lang.String |
getSlowestReceiver()
Get the name of the slowest receiver
|
int |
getSlowestReceiverQueueSize()
Get the queue size of the slowest receiver
|
long |
getUptime()
Get the time in ms that the Engine has been running
for.
|
boolean |
getUserBool(java.lang.String key)
Get a user value of type boolean
|
boolean |
getUserBoolOr(java.lang.String key,
boolean alt)
Get a user value of type boolean or the alt value if it cannot be found
|
float |
getUserFloat(java.lang.String key)
Get a user value of type float
|
float |
getUserFloatOr(java.lang.String key,
float alt)
Get a user value of type float or the alt value if it cannot be found
|
int |
getUserInt(java.lang.String key)
Get a user value of type int
|
int |
getUserIntOr(java.lang.String key,
int alt)
Get a user value of type int or the alt value if it cannot be found
|
java.lang.String |
getUserString(java.lang.String key)
Get a user value of type String
|
java.lang.String |
getUserStringOr(java.lang.String key,
java.lang.String alt)
Get a user value of type String or the alt value if it cannot be found
|
java.lang.String |
toString()
Get a descriptive string containing all of the status information.
|
long getUptime()
long getNumReceived()
long getNumProcessed()
long getNumFastTracked()
long getNumOutEventsCreated()
long getNumOutEventsSent()
int getNumContexts()
int getNumMonitors()
int getNumProcesses()
int getNumJavaApplications()
int getNumListeners()
int getNumSubListeners()
int getNumEventTypes()
int getNumQueuedFastTrack()
int getNumQueuedInput()
int getNumConsumers()
int getNumOutEventsQueued()
java.lang.String toString()
toString
in class java.lang.Object
java.util.Map<java.lang.String,java.lang.String> getAllValues()
java.lang.String getMostBackedUpInput()
int getMostBackedUpQueueSize()
java.lang.String getSlowestReceiver()
int getSlowestReceiverQueueSize()
int getUserInt(java.lang.String key) throws EngineException
key
- The user status to look upEngineException
- If the key cannot be found or there is a type mismatchint getUserIntOr(java.lang.String key, int alt) throws EngineException
key
- The user status to look upalt
- The alternate value to returnEngineException
- If there is a type mismatchfloat getUserFloat(java.lang.String key) throws EngineException
key
- The user status to look upEngineException
- If the key cannot be found or there is a type mismatchfloat getUserFloatOr(java.lang.String key, float alt) throws EngineException
key
- The user status to look upalt
- The alternate value to returnEngineException
- If there is a type mismatchjava.lang.String getUserString(java.lang.String key) throws EngineException
key
- The user status to look upEngineException
- If the key cannot be found or there is a type mismatchjava.lang.String getUserStringOr(java.lang.String key, java.lang.String alt) throws EngineException
key
- The user status to look upalt
- The alternate value to returnEngineException
- If there is a type mismatchboolean getUserBool(java.lang.String key) throws EngineException
key
- The user status to look upEngineException
- If the key cannot be found or there is a type mismatchboolean getUserBoolOr(java.lang.String key, boolean alt) throws EngineException
key
- The user status to look upalt
- The alternate value to returnEngineException
- If there is a type mismatchSubmit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.