Package com.mendix.metrics
Interface Timers
Deprecated.
Timers measure the amount of time an operation took to complete, in milliseconds.
- 
Method SummaryModifier and TypeMethodDescriptionvoidrecordExecutionTime(String bucket, long timeInMs) Deprecated.Records an execution time in milliseconds for the specified named operation.voidrecordExecutionTime(String bucket, long timeInMs, double sampleRate) Deprecated.Records an execution time in milliseconds for the specified named operation.voidrecordExecutionTime(String bucket, long timeInMs, double sampleRate, Map<String, String> tags) Deprecated.Records an execution time in milliseconds for the specified named operation.voidrecordExecutionTime(String bucket, long timeInMs, Map<String, String> tags) Deprecated.Records an execution time in milliseconds for the specified named operation.default voidDeprecated.Convenience method equivalent torecordExecutionTime(String, long).default voidDeprecated.Convenience method equivalent torecordExecutionTime(String, long, double).default voidDeprecated.Convenience method equivalent torecordExecutionTime(String, long, double, Map).default voidDeprecated.Convenience method equivalent torecordExecutionTime(String, long, Map).
- 
Method Details- 
recordExecutionTimeDeprecated.Records an execution time in milliseconds for the specified named operation.- Parameters:
- bucket- name of the timed operation
- timeInMs- time in milliseconds
 
- 
recordExecutionTimeDeprecated.Records an execution time in milliseconds for the specified named operation.- Parameters:
- bucket- name of the timed operation
- timeInMs- time in milliseconds
- sampleRate- percentage of time metric to be sent
 
- 
recordExecutionTimeDeprecated.Records an execution time in milliseconds for the specified named operation.- Parameters:
- bucket- name of the timed operation
- timeInMs- time in milliseconds
- tags- map of tags to be added to the data
 
- 
recordExecutionTimeDeprecated.Records an execution time in milliseconds for the specified named operation.- Parameters:
- bucket- name of the timed operation
- timeInMs- time in milliseconds
- sampleRate- percentage of time metric to be sent
- tags- map of tags to be added to the data
 
- 
timeDeprecated.Convenience method equivalent torecordExecutionTime(String, long). Records an execution time in milliseconds for the specified named operation.- Parameters:
- bucket- name of the timed operation
- timeInMs- time in milliseconds
 
- 
timeDeprecated.Convenience method equivalent torecordExecutionTime(String, long, double). Records an execution time in milliseconds for the specified named operation.- Parameters:
- bucket- name of the timed operation
- timeInMs- time in milliseconds
- sampleRate- percentage of time metric to be sent
 
- 
timeDeprecated.Convenience method equivalent torecordExecutionTime(String, long, Map). Records an execution time in milliseconds for the specified named operation.- Parameters:
- bucket- name of the timed operation
- timeInMs- time in milliseconds
- tags- map of tags to be added to the data
 
- 
timeDeprecated.Convenience method equivalent torecordExecutionTime(String, long, double, Map). Records an execution time in milliseconds for the specified named operation.- Parameters:
- bucket- name of the timed operation
- timeInMs- time in milliseconds
- sampleRate- percentage of time metric to be sent
- tags- map of tags to be added to the data
 
 
- 
Core.metrics().Metrics.createTimer(String). This interface will be removed in Mendix 11.