com.jdon.async.disruptor
类 DomainEventHandlerAdapter
java.lang.Object
com.jdon.async.disruptor.DomainEventHandlerAdapter
- 所有已实现的接口:
- com.lmax.disruptor.EventHandler<EventDisruptor>, com.lmax.disruptor.LifecycleAware
public class DomainEventHandlerAdapter
- extends Object
- implements com.lmax.disruptor.EventHandler<EventDisruptor>, com.lmax.disruptor.LifecycleAware
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainEventHandlerAdapter
public DomainEventHandlerAdapter(DomainEventHandler handler)
onEvent
public void onEvent(EventDisruptor event,
long sequence,
boolean endOfBatch)
throws Exception
- 指定者:
- 接口
com.lmax.disruptor.EventHandler<EventDisruptor> 中的 onEvent
- 抛出:
Exception
onStart
public void onStart()
- 指定者:
- 接口
com.lmax.disruptor.LifecycleAware 中的 onStart
onShutdown
public void onShutdown()
- 指定者:
- 接口
com.lmax.disruptor.LifecycleAware 中的 onShutdown
Copyright © 2013. All Rights Reserved.