|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.server.api.metrics.MethodMetrics.Context
public class MethodMetrics.Context
Inner class instances handle contexts for the same instance of MethodMetrics. This is useful since one method can be executing multiple times in parallel. But the contexts will be different.
Method Summary | |
---|---|
void |
markError()
Error came. |
void |
markSuccess()
Method succeeded. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void markError()
MethodMetricsContext
markError
in interface MethodMetricsContext
public void markSuccess()
MethodMetricsContext
markSuccess
in interface MethodMetricsContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |