Class StatisticBuilder.OperationStatisticBuilder<T extends Enum<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 Detail

      • 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 Detail

      • OperationStatisticBuilder

        public OperationStatisticBuilder​(Class<T> type)
        Instantiates a new operation statistic builder.
        Parameters:
        type - the type
    • Method Detail

      • 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