Package org.opencms.db.timing
Class CmsProfilingInvocationHandler
java.lang.Object
org.opencms.db.timing.CmsProfilingInvocationHandler
- All Implemented Interfaces:
InvocationHandler
Invocation handler used to measure method calls durations.
-
Constructor Summary
ConstructorDescriptionCmsProfilingInvocationHandler
(Object target, I_CmsProfilingHandler timingConsumer) Creates a new handler instance. -
Method Summary
-
Constructor Details
-
CmsProfilingInvocationHandler
Creates a new handler instance.- Parameters:
target
- the object we are proxyingtimingConsumer
- the handler to which we send the measured data
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
- See Also:
-