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()
MethodMetricsContext
markError
in interface MethodMetricsContext
public void markSuccess()
MethodMetricsContext
markSuccess
in interface MethodMetricsContext
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.