Class MetricsKey

java.lang.Object
com.illumon.iris.web.shared.metrics.MetricsKey

public class MetricsKey extends Object
A key used for calculating metrics; combines a TableHandle and an int fishlib command key, so that metrics operations which rely on calling an RPC method which is responded to with a pushed message can find the correct start time and send a metrics event.
  • Constructor Details

    • MetricsKey

      public MetricsKey(TableHandle id, byte cmdType)
  • Method Details

    • getId

      public TableHandle getId()
    • getCmdType

      public int getCmdType()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object