Interface Counters


public interface Counters
Counters count occurrences of an event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    count(String bucket, double delta)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, double delta, double sampleRate)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, double delta, double sampleRate, Map<String,String> tags)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, double delta, Map<String,String> tags)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, int delta)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, int delta, Double sampleRate)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, int delta, Double sampleRate, Map<String,String> tags)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, int delta, Map<String,String> tags)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, long delta)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, long delta, double sampleRate)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, long delta, double sampleRate, Map<String,String> tags)
    Adjusts the specified counter by a given delta.
    void
    count(String bucket, long delta, Map<String,String> tags)
    Adjusts the specified counter by a given delta.
  • Method Details

    • count

      void count(String bucket, int delta)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
    • count

      void count(String bucket, int delta, Double sampleRate)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
    • count

      void count(String bucket, int delta, Map<String,String> tags)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      tags - map of tags to be added to the data
    • count

      void count(String bucket, int delta, Double sampleRate, Map<String,String> tags)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
      tags - map of tags to be added to the data
    • count

      void count(String bucket, long delta)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
    • count

      void count(String bucket, long delta, double sampleRate)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
    • count

      void count(String bucket, long delta, Map<String,String> tags)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      tags - map of tags to be added to the data
    • count

      void count(String bucket, long delta, double sampleRate, Map<String,String> tags)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
      tags - map of tags to be added to the data
    • count

      void count(String bucket, double delta)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
    • count

      void count(String bucket, double delta, double sampleRate)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
    • count

      void count(String bucket, double delta, Map<String,String> tags)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      tags - map of tags to be added to the data
    • count

      void count(String bucket, double delta, double sampleRate, Map<String,String> tags)
      Adjusts the specified counter by a given delta.
      Parameters:
      bucket - name of the counter to adjust
      delta - amount to adjust the counter by
      sampleRate - percentage of count metric to be sent
      tags - map of tags to be added to the data