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