public class ServiceLatencyProvider extends Object
Constructor and Description |
---|
ServiceLatencyProvider(ServiceMetricType type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ServiceLatencyProvider |
endTiming()
Ends the timing.
|
double |
getDurationMilli() |
String |
getProviderId() |
ServiceMetricType |
getServiceMetricType()
Constructor.
|
String |
toString() |
public ServiceLatencyProvider(ServiceMetricType type)
type
- the service metric type.public ServiceMetricType getServiceMetricType()
public ServiceLatencyProvider endTiming()
public double getDurationMilli()
public String getProviderId()
Copyright © 2018. All rights reserved.