public class DomainEventHandlerAdapter extends Object implements com.lmax.disruptor.EventHandler<EventDisruptor>, com.lmax.disruptor.LifecycleAware
| 构造器和说明 |
|---|
DomainEventHandlerAdapter(DomainEventHandler handler) |
public DomainEventHandlerAdapter(DomainEventHandler handler)
public void onEvent(EventDisruptor event, long sequence, boolean endOfBatch) throws Exception
onEvent 在接口中 com.lmax.disruptor.EventHandler<EventDisruptor>Exceptionpublic void onStart()
onStart 在接口中 com.lmax.disruptor.LifecycleAwarepublic void onShutdown()
onShutdown 在接口中 com.lmax.disruptor.LifecycleAwareCopyright © 2018. All rights reserved.