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:
-
Method Summary
Modifier and TypeMethodDescriptioncopy
(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 Details
-
copy
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
-