Skip navigation links

Oracle® Fusion Middleware Java API Reference for Event Processing in Oracle Stream Analytics
12c Release (12.2.1.3.0)

E98700-01
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.bea.wlevs.management.diagnostic
Interface DiagnosticProfileMBean


public interface DiagnosticProfileMBean
extends WebLogicMBean, javax.management.NotificationEmitter

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);
 
 
See Also:
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

MBEAN_TYPE

public static final java.lang.String MBEAN_TYPE

Method Detail

isActive

public boolean isActive()
Determine the state of this profile.
Returns:
true if this profile is active.

addProbe

public void addProbe(javax.management.ObjectName probeName)
              throws javax.management.JMException
Adds a probe to this profile.
Parameters:
probeName -  
Throws:
javax.management.JMException - --If the probe doesn't conform to the start point.

removeProbe

public void removeProbe(javax.management.ObjectName probeName)
                 throws javax.management.JMException
Removes a probe from this profile.
Parameters:
probeName -  

getProbes

public javax.management.ObjectName[] getProbes()
Gets all the probes in this profiles.

start

public void start()
           throws javax.management.JMException
Starts this profile.The profile will become active.

stop

public void stop()
          throws javax.management.JMException
Stops this profile.The profile will become inactive.

terminate

public void terminate()
               throws javax.management.JMException
Stops running the profile and unregisters background ProbeRunTimeMBeans from the MBeanServer
Throws:
javax.management.JMException -  

getStartStage

public java.lang.String getStartStage()
Gets the start point of the profile.Namely the common start point of all the probes.
Returns:
 

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
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