org.eclipse.net4j.util.concurrent
Class ResultSynchronizer<RESULT>
java.lang.Object
org.eclipse.net4j.util.concurrent.ResultSynchronizer<RESULT>
- All Implemented Interfaces:
- ISynchronizer<RESULT>
- public final class ResultSynchronizer<RESULT>
- extends Object
- implements ISynchronizer<RESULT>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultSynchronizer
public ResultSynchronizer()
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) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.