@NotThreadSafe
public class ServiceLatencyProvider
extends java.lang.Object
| Constructor and Description |
|---|
ServiceLatencyProvider(ServiceMetricType type) |
| Modifier and Type | Method and Description |
|---|---|
ServiceLatencyProvider |
endTiming()
Ends the timing.
|
double |
getDurationMilli() |
java.lang.String |
getProviderId() |
ServiceMetricType |
getServiceMetricType() |
java.lang.String |
toString() |
public ServiceLatencyProvider(ServiceMetricType type)
public ServiceMetricType getServiceMetricType()
public ServiceLatencyProvider endTiming()
public double getDurationMilli()
public java.lang.String getProviderId()
public java.lang.String toString()
toString in class java.lang.Object