Class SynchronizingCorrelator<CORRELATION,RESULT>
- java.lang.Object
- 
- org.eclipse.net4j.util.concurrent.SynchronizingCorrelator<CORRELATION,RESULT>
 
- 
- All Implemented Interfaces:
- ICorrelator<CORRELATION,ISynchronizer<RESULT>>
 
 public class SynchronizingCorrelator<CORRELATION,RESULT> extends java.lang.Object implements ICorrelator<CORRELATION,ISynchronizer<RESULT>> - Author:
- Eike Stepper
 
- 
- 
Constructor SummaryConstructors Constructor Description SynchronizingCorrelator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ISynchronizer<RESULT>correlate(CORRELATION correlation)ISynchronizer<RESULT>correlateUnique(CORRELATION correlation)protected ISynchronizer<RESULT>createSynchronizer(CORRELATION correlation)RESULTget(CORRELATION correlation, long timeout)ISynchronizer<RESULT>getSynchronizer(CORRELATION correlation)booleanisCorrelated(CORRELATION correlation)voidput(CORRELATION correlation, RESULT result)booleanput(CORRELATION correlation, RESULT result, long timeout)booleanputIfCorrelated(CORRELATION correlation, RESULT result)java.lang.StringtoString()ISynchronizer<RESULT>uncorrelate(CORRELATION correlation)
 
- 
- 
- 
Method Detail- 
getSynchronizerpublic ISynchronizer<RESULT> getSynchronizer(CORRELATION correlation) - Since:
- 3.0
 
 - 
isCorrelatedpublic boolean isCorrelated(CORRELATION correlation) - Specified by:
- isCorrelatedin interface- ICorrelator<CORRELATION,RESULT>
 
 - 
correlatepublic ISynchronizer<RESULT> correlate(CORRELATION correlation) - Specified by:
- correlatein interface- ICorrelator<CORRELATION,RESULT>
 
 - 
correlateUniquepublic ISynchronizer<RESULT> correlateUnique(CORRELATION correlation) - Specified by:
- correlateUniquein interface- ICorrelator<CORRELATION,RESULT>
 
 - 
uncorrelatepublic ISynchronizer<RESULT> uncorrelate(CORRELATION correlation) - Specified by:
- uncorrelatein interface- ICorrelator<CORRELATION,RESULT>
 
 - 
getpublic RESULT get(CORRELATION correlation, long timeout) 
 - 
putpublic void put(CORRELATION correlation, RESULT result) 
 - 
putIfCorrelatedpublic boolean putIfCorrelated(CORRELATION correlation, RESULT result) - Since:
- 3.0
 
 - 
putpublic boolean put(CORRELATION correlation, RESULT result, long timeout) 
 - 
createSynchronizerprotected ISynchronizer<RESULT> createSynchronizer(CORRELATION correlation) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-