Class MetricInvocationHandler<T>
- java.lang.Object
-
- org.nuxeo.runtime.management.metrics.MetricInvocationHandler<T>
-
- All Implemented Interfaces:
InvocationHandler
public class MetricInvocationHandler<T> extends Object implements InvocationHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetricInvocationHandler(T proxied)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
formatName(Method m, Object[] parms)
protected String
formatNote(Method m, Object[] parms)
protected String
formatParms(Object... parms)
protected org.javasimon.Stopwatch
getStopwatch(Method m, Object[] parms)
Object
invoke(Object proxy, Method m, Object[] parms)
static <T> T
newProxy(T proxied, Class<?>... classes)
-
-
-
Constructor Detail
-
MetricInvocationHandler
protected MetricInvocationHandler(T proxied)
-
-
Method Detail
-
formatParms
protected String formatParms(Object... parms)
-
formatName
protected String formatName(Method m, Object[] parms)
-
formatNote
protected String formatNote(Method m, Object[] parms)
-
getStopwatch
protected org.javasimon.Stopwatch getStopwatch(Method m, Object[] parms)
-
-