|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.statistics.StatisticBuilder.OperationStatisticBuilder<T>
T - the generic typepublic static class StatisticBuilder.OperationStatisticBuilder<T extends Enum<T>>
The Class OperationStatisticBuilder.
| Field Summary | |
|---|---|
protected Object |
context
The context. |
protected String |
name
The name. |
protected Set<String> |
tags
The tags. |
| Constructor Summary | |
|---|---|
StatisticBuilder.OperationStatisticBuilder(Class<T> type)
Instantiates a new operation statistic builder. |
|
| Method Summary | |
|---|---|
org.terracotta.statistics.observer.OperationObserver<T> |
build()
Builds the. |
T |
named(String name)
Named. |
T |
of(Object of)
Of. |
T |
tag(String... tags)
Tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Set<String> tags
protected Object context
protected String name
| Constructor Detail |
|---|
public StatisticBuilder.OperationStatisticBuilder(Class<T> type)
type - the type| Method Detail |
|---|
public org.terracotta.statistics.observer.OperationObserver<T> build()
public T of(Object of)
of - the of
public T named(String name)
name - the name
public T tag(String... tags)
tags - the tags
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||