com.jdon.async.disruptor
类 EventResultHandlerImp
java.lang.Object
com.jdon.async.disruptor.EventResultHandlerImp
- 所有已实现的接口:
- EventResultHandler
public class EventResultHandlerImp
- extends Object
- implements EventResultHandler
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeoutforeturnResult
protected int timeoutforeturnResult
valueEventProcessor
protected ValueEventProcessor valueEventProcessor
EventResultHandlerImp
public EventResultHandlerImp()
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
getTimeoutforeturnResult
public int getTimeoutforeturnResult()
setWaitforTimeout
public void setWaitforTimeout(int timeoutforeturnResult)
- 从接口
EventResultHandler 复制的描述
- setup time out(MILLISECONDS) value for get a Event Result
- 指定者:
- 接口
EventResultHandler 中的 setWaitforTimeout
- 参数:
timeoutforeturnResult - MILLISECONDS
Copyright © 2013. All Rights Reserved.