com.jdon.async
接口 EventResultHandler

所有已知实现类:
EventResultFuture, EventResultHandlerImp

public interface EventResultHandler


方法摘要
 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 eventResult)
           
 void setWaitforTimeout(int timeoutforeturnResult)
          setup time out(MILLISECONDS) value for get a Event Result
 

方法详细信息

setWaitforTimeout

void setWaitforTimeout(int timeoutforeturnResult)
setup time out(MILLISECONDS) value for get a Event Result

参数:
timeoutforeturnResult - MILLISECONDS

get

Object get()
get a Event Result until time out value: setTimeoutforeturnResult(int timeoutforeturnResult)

返回:

getBlockedValue

Object getBlockedValue()
Blocking until get a Event Result

返回:

send

void send(Object eventResult)

clear

void clear()


Copyright © 2013. All Rights Reserved.