SourceStatistic that handles derived statistic
(de)registration.
This implementation exposes the currently registered statistics via the
derivedStatistics collection. Concrete implementations of this class should
fire on the contents of this to update the derived statistics.
| Modifier and Type | Field and Description |
|---|---|
| protected final Collection |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addDerivedStatistic(T
statistic to be registered derived)Implements org. Observer to be called by this SourceStatistic
|
| public void | removeDerivedStatistic(T
statistic to be removed derived)Implements org. Observer from this SourceStatistic.
|
| derivedStatistics | back to summary |
|---|---|
| protected final Collection<T> derivedStatistics | |
| AbstractSourceStatistic | back to summary |
|---|---|
| public AbstractSourceStatistic() | |
| addDerivedStatistic | back to summary |
|---|---|
| public void addDerivedStatistic(T derived) Implements org. Doc from org. Register the given
| |
| removeDerivedStatistic | back to summary |
|---|---|
| public void removeDerivedStatistic(T derived) Implements org. Doc from org. Remove the given registered
| |