public static class ExecutorEventWorker.ContractExecutorEventWorker
extends java.lang.Object
implements ru.bitel.bgbilling.kernel.application.server.Lifecycle
Modifier and Type | Field and Description |
---|---|
protected java.util.List<AbstractExecutorEventWorker> |
eventWorkers |
protected java.util.concurrent.ExecutorService[] |
executors |
Constructor and Description |
---|
ContractExecutorEventWorker(EventProcessor ep,
java.lang.String name,
int threadCount,
int queueSize) |
Modifier and Type | Method and Description |
---|---|
void |
onMessage(javax.jms.Message message,
ru.bitel.bgbilling.kernel.event.AbstractConsumer consumer) |
void |
start() |
void |
stop() |
protected final java.util.concurrent.ExecutorService[] executors
protected final java.util.List<AbstractExecutorEventWorker> eventWorkers
public ContractExecutorEventWorker(EventProcessor ep, java.lang.String name, int threadCount, int queueSize)
public void onMessage(javax.jms.Message message, ru.bitel.bgbilling.kernel.event.AbstractConsumer consumer)
public void start() throws ru.bitel.bgbilling.common.BGException
start
in interface ru.bitel.bgbilling.kernel.application.server.Lifecycle
ru.bitel.bgbilling.common.BGException
public void stop() throws ru.bitel.bgbilling.common.BGException
stop
in interface ru.bitel.bgbilling.kernel.application.server.Lifecycle
ru.bitel.bgbilling.common.BGException