Class MetricsFilter


  • public class MetricsFilter
    extends java.lang.Object
    A filter that matches the instance-level metrics by the instance type and metric name.
    • Constructor Detail

      • MetricsFilter

        public MetricsFilter​(MetricsSystem.InstanceType instanceType,
                             java.lang.String name)
        Constructs a new MetricsFilter instance.
        Parameters:
        instanceType - the instance type of the instance-level metric
        name - the metric name
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        the metric name
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object