public class ServiceLatencyProvider
extends java.lang.Object
Constructor and Description |
---|
ServiceLatencyProvider(ServiceMetricType type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ServiceLatencyProvider |
endTiming()
Ends the timing.
|
double |
getDurationMilli() |
java.lang.String |
getProviderId() |
ServiceMetricType |
getServiceMetricType()
Constructor.
|
java.lang.String |
toString() |
public ServiceLatencyProvider(ServiceMetricType type)
type
- the service metric 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