Interface Counter.Builder
- All Superinterfaces:
Meter.Builder<Counter.Builder, Counter>, Wrapper, Wrapper
- Enclosing interface:
Counter
Builder for a new counter.
- See Also:
-
Method Summary
Methods inherited from interface Meter.Builder
addTag, baseUnit, baseUnit, description, description, identity, name, origin, origin, scope, scope, tags, tagsModifier and TypeMethodDescriptionAdds a single tag to the builder's collection.baseUnit()Returns the base unit the builder will use.Sets the units.Returns the description the builder will use.description(String description) Sets the description.default Counter.Builderidentity()Returns the type-correct "this".name()Returns the name the builder will use.origin()Returns the fully-qualified name of the type which originated the meter, if set.default Counter.BuilderSets the fully-qualified name of the type which originated the meter.scope()Deprecated, for removal: This API element is subject to removal in a future version.Core metrics does not assign scopes, and this method will be removed.default Counter.BuilderDeprecated, for removal: This API element is subject to removal in a future version.No-op, will be removed.tags()Returns the tags the builder will use.Sets the tags to use in identifying the build meter.