Interface Gauge.Builder<N extends Number>
- Type Parameters:
N- specific subtype ofNumberfor the gauge this builder will produce
- All Superinterfaces:
Meter.Builder<Gauge.Builder<N>, Gauge<N>>, Wrapper, Wrapper
public static interface Gauge.Builder<N extends Number>
extends Meter.Builder<Gauge.Builder<N>, Gauge<N>>
Builder for a new gauge.
- 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 Gauge.Builder<N> identity()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 Gauge.Builder<N> Sets 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 Gauge.Builder<N> Deprecated, 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.
-
Method Details
-
supplier
-