T
- the generic typepublic static class StatisticBuilder.OperationStatisticBuilder<T extends Enum<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Object |
context
The context.
|
protected String |
name
The name.
|
protected Set<String> |
tags
The tags.
|
Constructor and Description |
---|
OperationStatisticBuilder(Class<T> type)
Instantiates a new operation statistic builder.
|
Modifier and Type | Method and Description |
---|---|
org.terracotta.statistics.observer.OperationObserver<T> |
build()
Builds the.
|
T |
named(String name)
Named.
|
T |
of(Object of)
Of.
|
T |
tag(String... tags)
Tag.
|
public org.terracotta.statistics.observer.OperationObserver<T> build()
public T of(Object of)
of
- the ofpublic T named(String name)
name
- the namepublic T tag(String... tags)
tags
- the tagsCopyright © 2003–2016 Terracotta, Inc.. All rights reserved.