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.
 PerformanceCounter getNoOfProcessedRecords()
          Gets the records processed.
 int getNoOfThreads()
          Gets the threads quantity.
 void increaseNoOfThreads()
          Increment threads.
 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

SMILA (incubation) API documentation