SMILA (incubation) API documentation

org.eclipse.smila.connectivity.queue.worker
Interface ListenerRule

All Known Implementing Classes:
ListenerRuleImpl

public interface ListenerRule

The Interface ListenerRule.


Method Summary
 void decreaseNoOfThreads()
          Decrement threads.
 int getMaxMessageBlockSize()
          Gets the maximum number of messages to be received from the Queue in one session quantity.
 PerformanceCounter getNoOfProcessedRecords()
          Gets the records processed.
 int getNoOfThreads()
          Gets the threads quantity.
 void increaseNoOfThreads()
          Increment threads.
 void setMaxMessageBlockSize(int size)
          Sets the maximum number of messages to receive in one session from the Queue..
 void setNoOfThreads(int size)
          Sets the threads quantity.
 

Method Detail

increaseNoOfThreads

void increaseNoOfThreads()
Increment threads.


decreaseNoOfThreads

void decreaseNoOfThreads()
Decrement threads.


getNoOfThreads

int getNoOfThreads()
Gets the threads quantity.

Returns:
the threads quantity

setNoOfThreads

void setNoOfThreads(int size)
Sets the threads quantity.

Parameters:
size - the new threads quantity

getNoOfProcessedRecords

PerformanceCounter getNoOfProcessedRecords()
Gets the records processed.

Returns:
the records processed

getMaxMessageBlockSize

int getMaxMessageBlockSize()
Gets the maximum number of messages to be received from the Queue in one session quantity.

Returns:
the maximum message block size

setMaxMessageBlockSize

void setMaxMessageBlockSize(int size)
Sets the maximum number of messages to receive in one session from the Queue..

Parameters:
size - the new maximum message block size

SMILA (incubation) API documentation