| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentMap | |
| private final Map | |
| private final Class | |
| private final OperationStatistic | |
| private final Class | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addDerivedStatistic(final ChainedOperationObserver<? super TARGET>
statistic to be registered derived)Implements org. Observer to be called by this SourceStatistic
|
| public void | begin()
Implements org. |
| public long | count(TARGET
the result type type)Implements org. |
| public void | end(TARGET
the operation result result)Implements org. |
| public void | end(TARGET
the operation result result, long... the operation parameters parameters)Implements org. |
| public void | removeDerivedStatistic(ChainedOperationObserver<? super TARGET>
statistic to be removed derived)Implements org. Observer from this SourceStatistic.
|
| private static <B extends Enum | |
| public ValueStatistic | statistic(TARGET
the result of interest result)Implements org. ValueStatistic returning the count for the given result.
|
| public ValueStatistic | statistic(Set<TARGET> results)
Implements org. |
| public long | |
| public long | |
| public Class |
| derivedStats | back to summary |
|---|---|
| private final ConcurrentMap<ChainedOperationObserver<? super TARGET>, ChainedOperationObserver<SOURCE>> derivedStats | |
| reverseTranslation | back to summary |
|---|---|
| private final Map<SOURCE, TARGET> reverseTranslation | |
| sourceType | back to summary |
|---|---|
| private final Class<SOURCE> sourceType | |
| statistic | back to summary |
|---|---|
| private final OperationStatistic<SOURCE> statistic | |
| targetType | back to summary |
|---|---|
| private final Class<TARGET> targetType | |
| translation | back to summary |
|---|---|
| private final Map<TARGET, Set<SOURCE>> translation | |
| StatisticMapper | back to summary |
|---|---|
| public StatisticMapper(Map<TARGET, Set<SOURCE>> translation, OperationStatistic<SOURCE> statistic) | |
| addDerivedStatistic | back to summary |
|---|---|
| public void addDerivedStatistic(final ChainedOperationObserver<? super TARGET> derived) Implements org. Doc from org. Register the given
| |
| begin | back to summary |
|---|---|
| public void begin() Implements org. Doc from org. Called immediately prior to the operation beginning.
| |
| count | back to summary |
|---|---|
| public long count(TARGET type) Implements org. Doc from org. Return the count of operations with the given type.
| |
| end | back to summary |
|---|---|
| public void end(TARGET result) Implements org. Doc from org. Called immediately after the operation completes with no interesting parameters.
| |
| end | back to summary |
|---|---|
| public void end(TARGET result, long... parameters) Implements org. Doc from org. Called immediately after the operation completes.
| |
| removeDerivedStatistic | back to summary |
|---|---|
| public void removeDerivedStatistic(ChainedOperationObserver<? super TARGET> derived) Implements org. Doc from org. Remove the given registered
| |
| reverse | back to summary |
|---|---|
| private static <B extends Enum | |
| statistic | back to summary |
|---|---|
| public ValueStatistic Implements org. Doc from org. Return a
| |
| statistic | back to summary |
|---|---|
| public ValueStatistic Implements org.
| |
| sum | back to summary |
|---|---|
| public long sum(Set<TARGET> types) Implements org.
| |
| sum | back to summary |
|---|---|
| public long sum() Implements org.
| |
| type | back to summary |
|---|---|
| public Class Implements org.
| |