Class StatisticBuilder.AbstractStatisticBuilder<T extends StatisticBuilder.AbstractStatisticBuilder<T>>

java.lang.Object
org.terracotta.statistics.StatisticBuilder.AbstractStatisticBuilder<T>
Type Parameters:
T - the generic type
Direct Known Subclasses:
StatisticBuilder.OperationStatisticBuilder
Enclosing class:
StatisticBuilder

static class StatisticBuilder.AbstractStatisticBuilder<T extends StatisticBuilder.AbstractStatisticBuilder<T>> extends Object
The Class AbstractStatisticBuilder.
  • Field Details

    • tags

      protected final Set<String> tags
      The tags.
    • properties

      protected final Map<String,Object> properties
      The properties.
    • context

      protected Object context
      The context.
    • name

      protected String name
      The name.
  • Constructor Details

    • AbstractStatisticBuilder

      AbstractStatisticBuilder()
  • Method Details

    • of

      public T of(Object of)
      Of.
      Parameters:
      of - the of
      Returns:
      the builder
    • named

      public T named(String name)
      Named.
      Parameters:
      name - the name
      Returns:
      the builder
    • tag

      public T tag(String... tags)
      Tag.
      Parameters:
      tags - the tags
      Returns:
      the builder
    • property

      public T property(String key, Object value)
      Tag.
      Parameters:
      key - the property key
      value - the property value
      Returns:
      the builder