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 Map<String,Object> |
properties
The properties.
|
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 |
|---|---|
OperationObserver<T> |
build()
Builds the.
|
T |
named(String name)
Named.
|
T |
of(Object of)
Of.
|
T |
property(String key,
Object value)
Tag.
|
T |
tag(String... tags)
Tag.
|
public 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 © 2018. All rights reserved.