com.jdon.async.disruptor
类 EventResultHandlerImp

java.lang.Object
  继承者 com.jdon.async.disruptor.EventResultHandlerImp
所有已实现的接口:
EventResultHandler

public class EventResultHandlerImp
extends Object
implements EventResultHandler


字段摘要
protected  ValueEventProcessor valueEventProcessor
           
 
构造方法摘要
EventResultHandlerImp(int timeoutforeturnResult)
           
 
方法摘要
 void clear()
           
 Object get()
          get a Event Result until time out value: setTimeoutforeturnResult(int timeoutforeturnResult)
 Object getBlockedValue()
          Blocking until get a Event Result
 void send(Object result)
          send event result
 void setWaitforTimeout(int timeoutforeturnResult)
          deprecated since 6.6.8
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

valueEventProcessor

protected ValueEventProcessor valueEventProcessor
构造方法详细信息

EventResultHandlerImp

public EventResultHandlerImp(int timeoutforeturnResult)
方法详细信息

send

public void send(Object result)
send event result

指定者:
接口 EventResultHandler 中的 send

get

public Object get()
从接口 EventResultHandler 复制的描述
get a Event Result until time out value: setTimeoutforeturnResult(int timeoutforeturnResult)

指定者:
接口 EventResultHandler 中的 get
返回:

getBlockedValue

public Object getBlockedValue()
从接口 EventResultHandler 复制的描述
Blocking until get a Event Result

指定者:
接口 EventResultHandler 中的 getBlockedValue
返回:

clear

public void clear()
指定者:
接口 EventResultHandler 中的 clear

setWaitforTimeout

public void setWaitforTimeout(int timeoutforeturnResult)
deprecated since 6.6.8

指定者:
接口 EventResultHandler 中的 setWaitforTimeout
参数:
timeoutforeturnResult - MILLISECONDS


Copyright © 2013. All Rights Reserved.