java.lang.Object
de.oktoflow.platform.support.metrics.micrometer.MicrometerTag
All Implemented Interfaces:
de.iip_ecosphere.platform.support.metrics.Tag

class MicrometerTag extends Object implements de.iip_ecosphere.platform.support.metrics.Tag
Wraps a tag.
Author:
Holger Eichelberger, SSE
  • Field Details

    • tag

      private io.micrometer.core.instrument.Tag tag
  • Constructor Details

    • MicrometerTag

      MicrometerTag(io.micrometer.core.instrument.Tag tag)
      Creates a wrapped tag.
      Parameters:
      tag - the tag
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in interface de.iip_ecosphere.platform.support.metrics.Tag
    • getValue

      public String getValue()
      Specified by:
      getValue in interface de.iip_ecosphere.platform.support.metrics.Tag
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getTag

      public io.micrometer.core.instrument.Tag getTag()
      Returns the wrapped/implementing tag.
      Returns:
      the tag