org.eclipse.net4j.util.concurrent
Class ResultSynchronizer<RESULT>

java.lang.Object
  extended by org.eclipse.net4j.util.concurrent.ResultSynchronizer<RESULT>
All Implemented Interfaces:
ISynchronizer<RESULT>

public final class ResultSynchronizer<RESULT>
extends Object
implements ISynchronizer<RESULT>


Constructor Summary
ResultSynchronizer()
           
 
Method Summary
 RESULT get(long timeout)
           
 void put(RESULT result)
           
 boolean put(RESULT result, long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSynchronizer

public ResultSynchronizer()
Method Detail

get

public RESULT get(long timeout)
Specified by:
get in interface ISynchronizer<RESULT>

put

public void put(RESULT result)
Specified by:
put in interface ISynchronizer<RESULT>

put

public boolean put(RESULT result,
                   long timeout)
Specified by:
put in interface ISynchronizer<RESULT>


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.