|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This MBean will manage instances of Streams whose configuration has been derived from
com.bea.wlevs.configuration.application.DefaultStreamConfig
schema. All the attributes
and operations of this MBean wraps around this schema type.
An example of using this MBean is given below
ObjectName streamMBeanName = ObjectName. getInstance("com.bea.wlevs:Name=mystream,Type=Stream,Application=myapplication"); //get the stream mbean StreamMBean streamMBean = (StreamMBean) MBeanServerInvocationHandler.newProxyInstance( mbsc, ObjectName.getInstance(streamMBeanName), StreamMBean.class, true); //get the size of the Stream int size = streamMBean.getSize(); //other operations ... ...
Field Summary | |
static String |
OBJECT_NAME
|
Method Summary | |
int |
getMaxSize()
This method reads the size of the Stream |
int |
getMaxThreads()
This method reads the maximum number of Threads associated with the Stream's WorkManager |
void |
setMaxSize(int size)
This method sets the size of the Stream |
void |
setMaxThreads(int size)
This method sets the maximum number of Threads associated with the Stream's WorkManager |
Methods inherited from interface com.bea.wlevs.management.configuration.StageMBean |
createMonitoringMetricAvgLatency,
createMonitoringMetricAvgLatencyThreshold,
createMonitoringMetricAvgThroughput,
createMonitoringMetricAvgThroughput,
createMonitoringMetricAvgThroughput,
createMonitoringMetricMaxLatency,
disableMonitoring,
enableMonitoring,
getStageType,
monitored |
Methods inherited from interface com.bea.wlevs.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getType,
isRegistered |
Field Detail |
public static final String OBJECT_NAME
Method Detail |
public int getMaxSize() throws InstanceNotFoundException, JMException, MBeanOperationsException
Stream
public void setMaxSize(int size) throws InstanceNotFoundException, JMException, MBeanOperationsException
Stream
size
- - size of the Stream to setpublic int getMaxThreads() throws InstanceNotFoundException, JMException, MBeanOperationsException
public void setMaxThreads(int size) throws InstanceNotFoundException, JMException, MBeanOperationsException
size
- - Number of maximum threads that is associated with the WorkManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |