Class ErrorStatsData

java.lang.Object
com.netflix.zuul.stats.ErrorStatsData
All Implemented Interfaces:
NamedCount

public class ErrorStatsData extends Object implements NamedCount
Implementation of a Named counter to monitor and count error causes by route. Route is a defined zuul concept to categorize requests into buckets. By default this is the first segment of the uri
  • Constructor Details

    • ErrorStatsData

      public ErrorStatsData(String route, String cause)
      create a counter by route and cause of error
      Parameters:
      route -
      cause -
  • Method Details

    • equals

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

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

      public void update()
      increments the counter
    • getName

      public String getName()
      Specified by:
      getName in interface NamedCount
    • getCount

      public long getCount()
      Specified by:
      getCount in interface NamedCount