public class DisabledMethodMetricsContext extends Object implements MethodMetricsContext
getInstance() instead
of null/Optional object.| Modifier and Type | Class and Description |
|---|---|
static class |
DisabledMethodMetricsContext.InstanceHolder |
| Modifier and Type | Method and Description |
|---|---|
static DisabledMethodMetricsContext |
getInstance() |
void |
markError()
Error came.
|
void |
markSuccess()
Method succeeded.
|
public static DisabledMethodMetricsContext getInstance()
public void markError()
MethodMetricsContextmarkError in interface MethodMetricsContextpublic void markSuccess()
MethodMetricsContextmarkSuccess in interface MethodMetricsContextCopyright © 2014–2015 Apache Software Foundation. All rights reserved.