Package ru.bitel.bgbilling.kernel.event
Class ExecutorEventWorker.ContractExecutorEventWorker
java.lang.Object
ru.bitel.bgbilling.kernel.event.ExecutorEventWorker.ContractExecutorEventWorker
- All Implemented Interfaces:
ru.bitel.bgbilling.kernel.application.server.Lifecycle
- Enclosing class:
- ExecutorEventWorker
public static class ExecutorEventWorker.ContractExecutorEventWorker
extends Object
implements ru.bitel.bgbilling.kernel.application.server.Lifecycle
-
Field Summary
Modifier and TypeFieldDescriptionprotected final List<AbstractExecutorEventWorker>
protected final ExecutorService[]
-
Constructor Summary
ConstructorDescriptionContractExecutorEventWorker
(EventProcessor ep, String name, int threadCount, int queueSize) -
Method Summary
-
Field Details
-
executors
-
eventWorkers
-
-
Constructor Details
-
ContractExecutorEventWorker
-
-
Method Details
-
onMessage
public void onMessage(javax.jms.Message message, ru.bitel.bgbilling.kernel.event.AbstractConsumer consumer) -
start
public void start() throws ru.bitel.bgbilling.common.BGException- Specified by:
start
in interfaceru.bitel.bgbilling.kernel.application.server.Lifecycle
- Throws:
ru.bitel.bgbilling.common.BGException
-
stop
public void stop() throws ru.bitel.bgbilling.common.BGException- Specified by:
stop
in interfaceru.bitel.bgbilling.kernel.application.server.Lifecycle
- Throws:
ru.bitel.bgbilling.common.BGException
-