|
Oracle® Fusion Middleware Java API Reference for Oracle Event Processing 11g Release 1 (11.1.1.9) E14303-12 |
|||||||||
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 | |
void |
addProbe(javax.management.ObjectName probeName) Adds a probe to this profile. |
javax.management.ObjectName[] |
getProbes() Gets all the probes in this profiles. |
java.lang.String |
getStartStage() Gets the start point of the profile.Namely the common start point of all the probes. |
boolean |
isActive() Determine the state of this profile. |
void |
removeProbe(javax.management.ObjectName probeName) Removes a probe from this profile. |
void |
start() Starts this profile.The profile will become active. |
void |
stop() Stops this profile.The profile will become inactive. |
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()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |