@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 © 2013 Amazon Web Services, Inc. All Rights Reserved.