Class MeterIdPrefix
java.lang.Object
com.linecorp.armeria.common.metric.MeterIdPrefix
-
Constructor Summary
ConstructorsConstructorDescriptionMeterIdPrefix(String name)Creates a new instance with noTags.MeterIdPrefix(String name, Iterable<Tag> tags)Creates a new instance.MeterIdPrefix(String name, String... tags)Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns a newly-created instance whose name is concatenated by the specifiedsuffix.appendWithTags(String suffix, Iterable<Tag> tags)Returns a newly-created instance whose name is concatenated by the specifiedsuffixandtags.appendWithTags(String suffix, String... tags)Returns a newly-created instance whose name is concatenated by the specifiedsuffixandtags.booleaninthashCode()name()Returns the name.Returns the name concatenated by the specifiedsuffix.tags()Returns theTags.Returns theTags concatenated by the specifiedtags.Returns theTags concatenated by the specifiedtags.toString()Returns a newly-created instance whose name is concatenated by the specifiedtags.Returns a newly-created instance whose name is concatenated by the specifiedtags.
-
Constructor Details
-
Method Details
-
name
Returns the name. -
name
Returns the name concatenated by the specifiedsuffix. -
tags
Returns theTags. -
tags
Returns theTags concatenated by the specifiedtags. -
tags
Returns theTags concatenated by the specifiedtags. -
append
Returns a newly-created instance whose name is concatenated by the specifiedsuffix. -
appendWithTags
Returns a newly-created instance whose name is concatenated by the specifiedsuffixandtags. -
appendWithTags
Returns a newly-created instance whose name is concatenated by the specifiedsuffixandtags. -
withTags
Returns a newly-created instance whose name is concatenated by the specifiedtags. -
withTags
Returns a newly-created instance whose name is concatenated by the specifiedtags. -
hashCode
public int hashCode() -
equals
-
toString
-