public class EventServiceImpl extends Object implements EventService
| Modifier and Type | Class and Description |
|---|---|
protected class |
EventServiceImpl.DispatcherPoolFactory |
| Modifier and Type | Field and Description |
|---|---|
protected String |
CONSUMER_PFX |
protected Map<String,Integer> |
consumerIndicies |
protected EventServiceImpl.DispatcherPoolFactory |
dispatcherFactory |
protected org.apache.commons.pool2.KeyedObjectPool |
dispatcherPool |
protected org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig |
poolConfig |
DEFAULT_DISPATCHER| Modifier | Constructor and Description |
|---|---|
protected |
EventServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
enumerateConsumers() |
int |
getConsumerIndex(String consumerClass) |
Dispatcher |
getDispatcher(String name)
Get dispatcher for configuration named by "name".
|
void |
returnDispatcher(String key,
Dispatcher disp) |
protected EventServiceImpl.DispatcherPoolFactory dispatcherFactory
protected org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig poolConfig
protected org.apache.commons.pool2.KeyedObjectPool dispatcherPool
protected String CONSUMER_PFX
public Dispatcher getDispatcher(String name)
EventServicegetDispatcher in interface EventServicepublic void returnDispatcher(String key, Dispatcher disp)
returnDispatcher in interface EventServicepublic int getConsumerIndex(String consumerClass)
getConsumerIndex in interface EventServiceprotected void enumerateConsumers()
Copyright © 2016 DuraSpace. All Rights Reserved.