Class NamedCountingMonitor

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

public class NamedCountingMonitor extends Object implements NamedCount
Simple Epic counter with a name and a count.
  • Constructor Details

    • NamedCountingMonitor

      public NamedCountingMonitor(String name)
  • Method Details

    • register

      public NamedCountingMonitor register()
      registers this objects
    • increment

      public long increment()
      increments the counter
    • getName

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

      public long getCount()
      Specified by:
      getCount in interface NamedCount
      Returns:
      the current count