Package org.terracotta.statistics
Class StatisticBuilder.OperationStatisticBuilder<T extends Enum<T>>
- java.lang.Object
-
- org.terracotta.statistics.StatisticBuilder.OperationStatisticBuilder<T>
-
- Type Parameters:
T- the generic type
- Enclosing class:
- StatisticBuilder
public static class StatisticBuilder.OperationStatisticBuilder<T extends Enum<T>> extends Object
The Class OperationStatisticBuilder.
-
-
Constructor Summary
Constructors Constructor Description OperationStatisticBuilder(Class<T> type)Instantiates a new operation statistic builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationObserver<T>build()Builds the.Tnamed(String name)Named.Tof(Object of)Of.Tproperty(String key, Object value)Tag.Ttag(String... tags)Tag.
-
-
-
Method Detail
-
build
public OperationObserver<T> build()
Builds the.- Returns:
- the operation observer
-
of
public T of(Object of)
Of.- Parameters:
of- the of- Returns:
- the builder
-
named
public T named(String name)
Named.- Parameters:
name- the name- Returns:
- the builder
-
tag
public T tag(String... tags)
Tag.- Parameters:
tags- the tags- Returns:
- the builder
-
-