public abstract class AbstractOperationStatistic<T extends Enum<T>> extends AbstractSourceStatistic<ChainedOperationObserver<? super T>> implements OperationStatistic<T>
| Modifier and Type | Field and Description |
|---|---|
String |
name |
Map<String,Object> |
properties |
Set<String> |
tags |
Class<T> |
type |
derivedStatistics| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Called immediately prior to the operation beginning.
|
void |
end(T result)
Called immediately after the operation completes with no interesting parameters, and with the same thread the called {
OperationObserver.begin()} before. |
long |
sum() |
Class<T> |
type() |
addDerivedStatistic, removeDerivedStatisticclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, statistic, statistic, sumaddDerivedStatistic, removeDerivedStatisticpublic final String name
public long sum()
sum in interface OperationStatistic<T extends Enum<T>>public void begin()
OperationObserverbegin in interface OperationObserver<T extends Enum<T>>public void end(T result)
OperationObserverOperationObserver.begin()} before.end in interface OperationObserver<T extends Enum<T>>result - the operation resultCopyright © 2018. All rights reserved.