| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,TreeSet<DomainEventHandler>> |
handlesMap |
static String |
module |
| 构造器和说明 |
|---|
DisruptorForCommandFactory(DisruptorParams disruptorParams,
ContainerCallback containerCallback,
DisruptorCommandPoolFactory disruptorCommandPoolFactory,
DisruptorFactory disruptorFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.lmax.disruptor.dsl.Disruptor |
createDisruptor(String topic)
one event one EventDisruptor
|
com.lmax.disruptor.dsl.Disruptor |
getDisruptor(String topic,
Object target) |
ModelConsumerMethodHolder |
getModelConsumerMethodHolder(String topic) |
TreeSet<DomainEventHandler> |
getTreeSet() |
boolean |
isContain(String topic) |
protected TreeSet<DomainEventHandler> |
loadOnCommandConsumers(String topic,
TreeSet<DomainEventHandler> ehs) |
void |
releaseDisruptor(Object owner) |
void |
start()
Start this component.
|
void |
stop()
Stop this component.
|
public static final String module
protected final Map<String,TreeSet<DomainEventHandler>> handlesMap
public DisruptorForCommandFactory(DisruptorParams disruptorParams, ContainerCallback containerCallback, DisruptorCommandPoolFactory disruptorCommandPoolFactory, DisruptorFactory disruptorFactory)
public void releaseDisruptor(Object owner)
public com.lmax.disruptor.dsl.Disruptor createDisruptor(String topic)
topic - public boolean isContain(String topic)
public ModelConsumerMethodHolder getModelConsumerMethodHolder(String topic)
protected TreeSet<DomainEventHandler> loadOnCommandConsumers(String topic, TreeSet<DomainEventHandler> ehs)
public TreeSet<DomainEventHandler> getTreeSet()
Copyright © 2018. All rights reserved.