Package com.mendix.metrics
Interface Sets
-
public interface SetsSets report the number of unique elements that are received in a flush period.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinsert(java.lang.String bucket, java.lang.String value)Inserts the value into a set of unique values until the underlying implementation flushes again.voidinsert(java.lang.String bucket, java.lang.String value, java.lang.Double sampleRate)Inserts the value into a set of unique values until the underlying implementation flushes again.voidinsert(java.lang.String bucket, java.lang.String value, java.lang.Double sampleRate, java.util.Map<java.lang.String,java.lang.String> tags)Inserts the value into a set of unique values until the underlying implementation flushes again.voidinsert(java.lang.String bucket, java.lang.String value, java.util.Map<java.lang.String,java.lang.String> tags)Inserts the value into a set of unique values until the underlying implementation flushes again.
-
-
-
Method Detail
-
insert
void insert(java.lang.String bucket, java.lang.String value)Inserts the value into a set of unique values until the underlying implementation flushes again.- Parameters:
bucket- name of the setvalue- value to track
-
insert
void insert(java.lang.String bucket, java.lang.String value, java.lang.Double sampleRate)Inserts the value into a set of unique values until the underlying implementation flushes again.- Parameters:
bucket- name of the setvalue- value to tracksampleRate- percentage of set metric to be sent
-
insert
void insert(java.lang.String bucket, java.lang.String value, java.util.Map<java.lang.String,java.lang.String> tags)Inserts the value into a set of unique values until the underlying implementation flushes again.- Parameters:
bucket- name of the setvalue- value to tracktags- map of tags to be added to the data
-
insert
void insert(java.lang.String bucket, java.lang.String value, java.lang.Double sampleRate, java.util.Map<java.lang.String,java.lang.String> tags)Inserts the value into a set of unique values until the underlying implementation flushes again.- Parameters:
bucket- name of the setvalue- value to tracksampleRate- percentage of set metric to be senttags- map of tags to be added to the data
-
-