Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing
11g Release 1 (11.1.1.4.0)

E14303-04
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.bea.wlevs.management.configuration
Interface EventQueueMBean

All Known Subinterfaces:
EventChannelMBean, StreamMBean

public interface EventQueueMBean

Method Summary
 void configureQueueing(int consumerThreads, int queueSize)
          This method sets both the max threads and the max size.
 int getCurrentSize()
          Returns the current (used) size of Event Queue
 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

 

Method Detail

getMaxSize

public int getMaxSize()
               throws javax.management.JMException
This method reads the size of the Stream
Returns:
int - size of the stream
Throws:
javax.management.JMException -  

setMaxSize

public void setMaxSize(int size)
                throws javax.management.JMException
This method sets the size of the Stream
Parameters:
size - - size of the Stream to set
Throws:
javax.management.JMException -  

getMaxThreads

public int getMaxThreads()
                  throws javax.management.JMException
This method reads the maximum number of Threads associated with the Stream's WorkManager
Returns:
int - Number of threads WorkManager can spawn
Throws:
javax.management.JMException -  

setMaxThreads

public void setMaxThreads(int size)
                   throws javax.management.JMException
This method sets the maximum number of Threads associated with the Stream's WorkManager
Parameters:
size - - Number of maximum threads that is associated with the WorkManager
Throws:
javax.management.JMException -  

configureQueueing

public void configureQueueing(int consumerThreads,
                              int queueSize)
                       throws javax.management.JMException
This method sets both the max threads and the max size. There are cases when it is useful to set both attributes in the same operation.
Parameters:
consumerThreads -  
queueSize -  

getCurrentSize

public int getCurrentSize()
                   throws javax.management.JMException
Returns the current (used) size of Event Queue
Returns:
size - int current size

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD