Package org.jeyzer.mx
Interface JeyzerMXBean
-
- All Known Implementing Classes:
JeyzerPublisher
public interface JeyzerMXBean
The Jeyzer MX bean interface.
Its object name is :org.jeyzer.mx:type=Jeyzer
This interface provides applicative level accessors to the Jeyzer Recorder.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JEYZER_MXBEAN_NAME
The Jeyzer MX object name
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<JzrEventInfo>
consumeEvents()
Get the list of available monitoring events and consume the ones which have been terminated Others ones may be returned on next call if not cancelled in the meantimejava.util.List<JzrPublisherEvent>
consumePublisherEvents()
Consume the list of available publisher eventsjava.util.Map<java.lang.String,java.lang.String>
getDynamicProcessContextParams()
Get the list of dynamic process context parametersjava.util.List<JzrEventInfo>
getEvents()
Get the list of monitoring events to consumejava.lang.String
getNodeName()
Get the application node name.java.lang.String
getProcessBuildNumber()
Get the process build numberjava.lang.String
getProcessName()
Get the process namejava.lang.String
getProcessVersion()
Get the process versionjava.lang.String
getProfileName()
Get the Jeyzer applicative profile namejava.util.List<JzrPublisherEvent>
getPublisherEvents()
Get the list of publisher events All publisher events will be consumed through this calljava.lang.String
getPublisherVersion()
Get the Jeyzer publish library versionjava.util.Map<java.lang.String,java.lang.String>
getStaticProcessContextParams()
Get the list of static process context parametersjava.util.List<JzrThreadInfo>
getThreadInfoList()
Get the list of thread info contextsboolean
isActive()
Determines if the Jeyzer MX bean is activeboolean
isDataCollectionActive()
Determines if the data collection is activeboolean
isEventCollectionActive(JzrEventLevel level)
Determines if the event collection is activevoid
resumeDataCollection()
Resume the data collectionvoid
resumeEventCollection(JzrEventLevel level)
Resume the event collectionvoid
suspendDataCollection()
Suspend the data collectionvoid
suspendEventCollection(JzrEventLevel level)
Suspend the data collection
-
-
-
Field Detail
-
JEYZER_MXBEAN_NAME
static final java.lang.String JEYZER_MXBEAN_NAME
The Jeyzer MX object name- See Also:
- Constant Field Values
-
-
Method Detail
-
isActive
boolean isActive()
Determines if the Jeyzer MX bean is active- Returns:
- true if active
-
getProfileName
java.lang.String getProfileName()
Get the Jeyzer applicative profile name- Returns:
- the Jeyzer applicative profile name
-
getNodeName
java.lang.String getNodeName()
Get the application node name. By default the underlying machine host name- Returns:
- the application node name
-
getProcessName
java.lang.String getProcessName()
Get the process name- Returns:
- the process name
-
getProcessVersion
java.lang.String getProcessVersion()
Get the process version- Returns:
- the process version
-
getProcessBuildNumber
java.lang.String getProcessBuildNumber()
Get the process build number- Returns:
- the process build number
-
getThreadInfoList
java.util.List<JzrThreadInfo> getThreadInfoList()
Get the list of thread info contexts- Returns:
- the list of thread info contexts
-
getStaticProcessContextParams
java.util.Map<java.lang.String,java.lang.String> getStaticProcessContextParams()
Get the list of static process context parameters- Returns:
- the list of static process context parameters
-
getDynamicProcessContextParams
java.util.Map<java.lang.String,java.lang.String> getDynamicProcessContextParams()
Get the list of dynamic process context parameters- Returns:
- the list of dynamic process context parameters
-
getEvents
java.util.List<JzrEventInfo> getEvents()
Get the list of monitoring events to consume- Returns:
- the list of monitoring events
-
consumeEvents
java.util.List<JzrEventInfo> consumeEvents()
Get the list of available monitoring events and consume the ones which have been terminated Others ones may be returned on next call if not cancelled in the meantime- Returns:
- the list of monitoring events, including the consumed ones
-
getPublisherVersion
java.lang.String getPublisherVersion()
Get the Jeyzer publish library version- Returns:
- the Jeyzer publish library version
-
getPublisherEvents
java.util.List<JzrPublisherEvent> getPublisherEvents()
Get the list of publisher events All publisher events will be consumed through this call- Returns:
- the list of publisher events
-
consumePublisherEvents
java.util.List<JzrPublisherEvent> consumePublisherEvents()
Consume the list of available publisher events- Returns:
- the list of consumed publisher events
-
suspendDataCollection
void suspendDataCollection()
Suspend the data collection
-
resumeDataCollection
void resumeDataCollection()
Resume the data collection
-
isDataCollectionActive
boolean isDataCollectionActive()
Determines if the data collection is active- Returns:
- true if active
-
suspendEventCollection
void suspendEventCollection(JzrEventLevel level)
Suspend the data collection- Parameters:
level
- the Jeyzer event level
-
resumeEventCollection
void resumeEventCollection(JzrEventLevel level)
Resume the event collection- Parameters:
level
- the Jeyzer event level
-
isEventCollectionActive
boolean isEventCollectionActive(JzrEventLevel level)
Determines if the event collection is active- Parameters:
level
- the Jeyzer event level- Returns:
- true if active
-
-