ehcache

net.sf.ehcache.statistics
Class StatisticBuilder.OperationStatisticBuilder<T extends Enum<T>>

java.lang.Object
  extended by net.sf.ehcache.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.


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

tags

protected final Set<String> tags
The tags.


context

protected Object context
The context.


name

protected String name
The name.

Constructor Detail

StatisticBuilder.OperationStatisticBuilder

public StatisticBuilder.OperationStatisticBuilder(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(Object of)
Of.

Parameters:
of - the of
Returns:
the t

named

public T named(String name)
Named.

Parameters:
name - the name
Returns:
the t

tag

public T tag(String... tags)
Tag.

Parameters:
tags - the tags
Returns:
the t

ehcache

Copyright 2001-2016, Terracotta, Inc.