|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.queue.worker.internal.AbstractLoggedComponent
org.eclipse.smila.connectivity.queue.worker.internal.AbstractRule<ListenerRuleType>
org.eclipse.smila.connectivity.queue.worker.internal.listener.ListenerRuleImpl
public class ListenerRuleImpl
The Class ListenerRule.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractRule |
|---|
_accessPoint, _ruleConfig |
| Fields inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractLoggedComponent |
|---|
_id, _log |
| Constructor Summary | |
|---|---|
ListenerRuleImpl(ServicesAccessPoint accessPoint,
ListenerRuleType ruleConfig)
Instantiates a new listener rule. |
|
| 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. |
| Methods inherited from class org.eclipse.smila.connectivity.queue.worker.internal.AbstractLoggedComponent |
|---|
msg |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListenerRuleImpl(ServicesAccessPoint accessPoint,
ListenerRuleType ruleConfig)
throws BrokerConnectionException
accessPoint - the access pointruleConfig - the rule config
BrokerConnectionException - the broker connection exception| Method Detail |
|---|
public void increaseNoOfThreads()
increaseNoOfThreads in interface ListenerRuleListenerRule.increaseNoOfThreads()public void decreaseNoOfThreads()
decreaseNoOfThreads in interface ListenerRuleListenerRule.decreaseNoOfThreads()public int getNoOfThreads()
getNoOfThreads in interface ListenerRuleListenerRule.getNoOfThreads()public void setNoOfThreads(int size)
setNoOfThreads in interface ListenerRulesize - the new threads quantityListenerRule.setNoOfThreads(int)public PerformanceCounter getNoOfProcessedRecords()
getNoOfProcessedRecords in interface ListenerRuleListenerRule.getNoOfProcessedRecords()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||