public interface SourceStatistic<T extends ChainedObserver>
Modifier and Type | Method and Description |
---|---|
void |
addDerivedStatistic(T derived)
Register the given
Observer to be called by this SourceStatistic |
java.util.Collection<T> |
getDerivedStatistics()
Retrieve all registered statistics.
|
void |
removeDerivedStatistic(T derived)
Remove the given registered
Observer from this SourceStatistic . |
void addDerivedStatistic(T derived)
Observer
to be called by this SourceStatistic
derived
- statistic to be registeredvoid removeDerivedStatistic(T derived)
Observer
from this SourceStatistic
.derived
- statistic to be removedjava.util.Collection<T> getDerivedStatistics()