TestMeasurement<T> Class
- java.
lang. Object - com.
azure. core. test. utils. metrics. TestMeasurement<T>
- com.
Type Parameters
- T
public class TestMeasurement<T>
Test implementation of metric measurements allowing to verify what measurements were reported.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
getAttributes()
Returns attributes this measurement was reported with. |
| Context |
getContext()
Returns context this measurement was reported with. |
| T |
getValue()
Returns value this measurement was reported with. |
Methods inherited from java.lang.Object
Method Details
getAttributes
public Map<String,Object> getAttributes()
Returns attributes this measurement was reported with.
Returns:
getContext
public Context getContext()
Returns context this measurement was reported with.
Returns:
getValue
public T getValue()
Returns value this measurement was reported with.
Returns: