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