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.ede.api
Interface EventQueue

All Known Subinterfaces:
EventChannel, Stream

public interface EventQueue

Method Summary
 int getCurrentSize()
          Returns the current (used) size of stream
 int getMaxSize()
          Returns maximum size of stream
 int getMaxThreads()
          Returns maximum number of threads that a stream should use for processing events.
 void setMaxSize(int size)
          Maximum number of events that a stream can hold at a time.
 void setMaxThreads(int maxThreads)
          Maximum number of threads that a stream should use for processing events.

 

Method Detail

setMaxSize

public void setMaxSize(int size)
                throws java.beans.PropertyVetoException
Maximum number of events that a stream can hold at a time.
Parameters:
size - - the maximum allowable number of retained events
Throws:
java.beans.PropertyVetoException - if size is not valid

getMaxSize

public int getMaxSize()
Returns maximum size of stream
Returns:
maximum size

getCurrentSize

public int getCurrentSize()
Returns the current (used) size of stream
Returns:
size - int current size

setMaxThreads

public void setMaxThreads(int maxThreads)
Maximum number of threads that a stream should use for processing events.
Parameters:
threads - - the number of worker threads to use.

getMaxThreads

public int getMaxThreads()
Returns maximum number of threads that a stream should use for processing events. return threads - int the number of worker threads to use.

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