|
||||||||||
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 java.lang.String |
MBEAN_TYPE
|
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 |
configurePlayback,
configurePlaybackWithDuration,
configureRecord,
configureRecordWithDuration,
getPlaybackConfiguration,
getRecordConfiguration,
isPlayingBack,
isRecording,
startPlayback,
startRecording,
stopPlayback,
stopRecording |
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 int getMaxSize() throws javax.management.JMException
Stream
public void setMaxSize(int size) throws javax.management.JMException
Stream
size
- - size of the Stream to setpublic int getMaxThreads() throws javax.management.JMException
public void setMaxThreads(int size) throws javax.management.JMException
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 |