Package com.mendix.metrics
Interface Counters
-
public interface CountersCounters count occurrences of an event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcount(java.lang.String bucket, double delta)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, double delta, double sampleRate)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, double delta, double sampleRate, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, double delta, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, int delta)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, int delta, java.lang.Double sampleRate)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, int delta, java.lang.Double sampleRate, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, int delta, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, long delta)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, long delta, double sampleRate)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, long delta, double sampleRate, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.voidcount(java.lang.String bucket, long delta, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.
-
-
-
Method Detail
-
count
void count(java.lang.String bucket, int delta)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter by
-
count
void count(java.lang.String bucket, int delta, java.lang.Double sampleRate)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bysampleRate- percentage of count metric to be sent
-
count
void count(java.lang.String bucket, int delta, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bytags- map of tags to be added to the data
-
count
void count(java.lang.String bucket, int delta, java.lang.Double sampleRate, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bysampleRate- percentage of count metric to be senttags- map of tags to be added to the data
-
count
void count(java.lang.String bucket, long delta)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter by
-
count
void count(java.lang.String bucket, long delta, double sampleRate)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bysampleRate- percentage of count metric to be sent
-
count
void count(java.lang.String bucket, long delta, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bytags- map of tags to be added to the data
-
count
void count(java.lang.String bucket, long delta, double sampleRate, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bysampleRate- percentage of count metric to be senttags- map of tags to be added to the data
-
count
void count(java.lang.String bucket, double delta)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter by
-
count
void count(java.lang.String bucket, double delta, double sampleRate)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bysampleRate- percentage of count metric to be sent
-
count
void count(java.lang.String bucket, double delta, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bytags- map of tags to be added to the data
-
count
void count(java.lang.String bucket, double delta, double sampleRate, java.util.Map<java.lang.String,java.lang.String> tags)Adjusts the specified counter by a given delta.- Parameters:
bucket- name of the counter to adjustdelta- amount to adjust the counter bysampleRate- percentage of count metric to be senttags- map of tags to be added to the data
-
-