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


构造方法摘要
DomainEventHandlerAdapter(DomainEventHandler handler)
           
 
方法摘要
 void onEvent(EventDisruptor event, long sequence, boolean endOfBatch)
           
 void onShutdown()
           
 void onStart()
           
 
从类 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.