public class FunctionExecutionMeter
extends java.lang.Object
Its mainly used for unit testing
| Constructor and Description |
|---|
FunctionExecutionMeter(com.github.jlangch.venice.impl.util.MeterRegistry meterRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Disables the collection of runtime execution time for functions
|
void |
enable()
Enables the collection of runtime execution time for functions
|
java.util.Collection<ElapsedTime> |
getData() |
java.lang.String |
getDataFormatted(java.lang.String title)
Formats the execution times
|
void |
reset()
Removes all collected runtime execution times for functions
|
public FunctionExecutionMeter(com.github.jlangch.venice.impl.util.MeterRegistry meterRegistry)
public void enable()
public void disable()
public void reset()
public java.util.Collection<ElapsedTime> getData()
public java.lang.String getDataFormatted(java.lang.String title)
title - a title