|
Oracle® Fusion Middleware Java API Reference for Event Processing in Oracle Stream Analytics 12c Release (12.2.1.3.0) E98700-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Diagnostic Profile MBean.a profile can be looked as a collection of probes that monitoring the performance of an application.All the probes must have the same start ponit. For the concept of probe, please refer to MonitorRuntimeMBean. The listeners of this MBean will get ProbeAttributeChangeNotification types of notifications. The following example shows how to access the DiagnosticProfileMBean:
ObjectName profileBeanName = ObjectName.getInstance("com.bea.wlevs:Name=" + profileName +",Type=Profile,Application="+DeployedApplicationName); DiagnosticProfileMBean profileBean = (DiagnosticProfileMBean) MBeanServerInvocationHandler .newProxyInstance(mbsc, profileBeanName, DiagnosticProfileMBean.class, false);
MonitorRuntimeMBean
, ProbeRuntimeMBean
Field Summary | |
static java.lang.String |
MBEAN_TYPE |
Method Summary | |
abstract void |
addProbe(javax.management.ObjectName probeName) Adds a probe to this profile. |
abstract javax.management.ObjectName[] |
getProbes() Gets all the probes in this profiles. |
abstract java.lang.String |
getStartStage() Gets the start point of the profile.Namely the common start point of all the probes. |
abstract boolean |
isActive() Determine the state of this profile. |
abstract void |
removeProbe(javax.management.ObjectName probeName) Removes a probe from this profile. |
abstract void |
start() Starts this profile.The profile will become active. |
abstract void |
stop() Stops this profile.The profile will become inactive. |
abstract void |
terminate() Stops running the profile and unregisters background ProbeRunTimeMBeans from the MBeanServer |
Methods inherited from interface com.bea.wlevs.management.WebLogicMBean |
getName, getObjectName, getType |
Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
public static final java.lang.String MBEAN_TYPE
Method Detail |
public boolean isActive()
public void addProbe(javax.management.ObjectName probeName) throws javax.management.JMException
probeName
- public void removeProbe(javax.management.ObjectName probeName) throws javax.management.JMException
probeName
- public javax.management.ObjectName[] getProbes()
public void start() throws javax.management.JMException
public void stop() throws javax.management.JMException
public void terminate() throws javax.management.JMException
public java.lang.String getStartStage()
|
Copyright © 2007, 2018, Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |