public class MetricsContextImpl extends Object implements MetricsContext
success()
userError() or failure() should be called when the call completes to record the
duration of the call and increment the call counter.| Constructor and Description |
|---|
MetricsContextImpl(RequestMetrics metrics) |
public MetricsContextImpl(RequestMetrics metrics)
public void success()
success in interface MetricsContextpublic void failure()
failure in interface MetricsContextpublic void userError()
userError in interface MetricsContextCopyright © 2017. All rights reserved.