|
Oracle® Fusion Middleware Java API Reference for Event Processing in Oracle Stream Analytics 12c (12.2.1.2.0) E67761-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
abstract void |
configureQueueing(int consumerThreads, int queueSize)This method sets both the max threads and the max size. |
abstract int |
getCurrentSize()Returns the current (used) size of Event Queue |
abstract int |
getMaxSize()This method reads the size of the Channel. |
abstract int |
getMaxThreads()This method reads the maximum number of Threads associated with the Stream's WorkManager |
abstract long |
getOfferTimeout()Returns the timeout value used for waiting up until space becomes available in the event queue. |
abstract boolean |
isFailWhenRejected()Returns true if an event processing exception should be raised when event queue is full and no space is available after offer timeout expires. |
abstract void |
setFailWhenRejected(boolean value)Raise an EventProcessingException if the event queue is full when the offer timeout expires. |
abstract void |
setMaxSize(int size)This method sets the size of the Channel. |
abstract void |
setMaxThreads(int size)This method sets the maximum number of Threads associated with the Stream's WorkManager |
abstract void |
setOfferTimeout(long timeout)Sets the timeout value used when the event queue is full and a pending insert (offer) is blocked. |
| Method Detail |
public int getMaxSize()
throws javax.management.JMException
Channel. Only applicable if maxThreads is greater than zero.
public void setMaxSize(int size)
throws javax.management.JMException
Channel. Only applicable if maxThreads is greater than zero.size - - size of the Stream to set
public 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
public void configureQueueing(int consumerThreads,
int queueSize)
throws javax.management.JMException
consumerThreads - queueSize -
public int getCurrentSize()
throws javax.management.JMException
public long getOfferTimeout()
throws javax.management.JMException
public void setOfferTimeout(long timeout)
throws javax.management.JMException
timeout - offer timeout
public void setFailWhenRejected(boolean value)
throws javax.management.JMException
The default value is false.
value - true if exception should be raised when rejected, false if event should be dropped instead.
public boolean isFailWhenRejected()
throws javax.management.JMException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||