| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: the operation countthe result type type)Implements org. |
| public void | end(T
the operation result result)Implements org. |
| public void | end(T
the operation result result, long... the operation parameters parameters)Implements org. |
| public long | |
| public String |
| counts | back to summary |
|---|---|
| private final EnumMap<T, LongAdder> counts | |
| GeneralOperationStatistic | back to summary |
|---|---|
| pack-priv GeneralOperationStatistic(String name, Set<String> tags, Map<String, ? extends Object> properties, Class<T> type) Create an operation statistics for a given operation result type. | |
| count | back to summary |
|---|---|
| public long count(T type) Implements org. Return the count of operations with the given type.
| |
| end | back to summary |
|---|---|
| public void end(T result) Implements org. Doc from org. Called immediately after the operation completes with no interesting parameters.
| |
| end | back to summary |
|---|---|
| public void end(T result, long... parameters) Implements org. Doc from org. Called immediately after the operation completes.
| |
| sum | back to summary |
|---|---|
| public long sum(Set<T> types) Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |