Package com.yahoo.concurrent
Interface ThreadLocalDirectory.ObservableUpdater<AGGREGATOR,SAMPLE>
-
- Type Parameters:
AGGREGATOR
- as forThreadLocalDirectory.Updater
SAMPLE
- as forThreadLocalDirectory.Updater
- All Superinterfaces:
ThreadLocalDirectory.Updater<AGGREGATOR,SAMPLE>
- Enclosing class:
- ThreadLocalDirectory<AGGREGATOR,SAMPLE>
public static interface ThreadLocalDirectory.ObservableUpdater<AGGREGATOR,SAMPLE> extends ThreadLocalDirectory.Updater<AGGREGATOR,SAMPLE>
Implement this interface to be able to view the contents of a ThreadLocalDirectory without resetting the local instances in each thread.- See Also:
ThreadLocalDirectory.view()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AGGREGATOR
copy(AGGREGATOR current)
Create an application specific copy of the AGGREGATOR for a thread.-
Methods inherited from interface com.yahoo.concurrent.ThreadLocalDirectory.Updater
createGenerationInstance, update
-
-
-
-
Method Detail
-
copy
AGGREGATOR copy(AGGREGATOR current)
Create an application specific copy of the AGGREGATOR for a thread.- Parameters:
current
- the AGGREGATOR instance to copy- Returns:
- a copy of the incoming parameter
-
-