| java.lang.Object biz.hammurapi.metrics.MeasuringWrapper
MeasuringWrapper | public class MeasuringWrapper (Code) | | Wraps objects to measure object method's performance.
author: Pavel Vlasov version: $Revision: 1.3 $ |
Method Summary | |
public Object | wrap(Object obj) Wraps object to measure methods performance.
Parameters: obj - Object to be wrapped. | public static Object | wrap(Object obj, MeasurementConsumer consumer) Wraps object to measure methods performance.
Parameters: obj - Object to be wrapped. Parameters: consumer - Metric consumer. |
wrap | public Object wrap(Object obj)(Code) | | Wraps object to measure methods performance.
Parameters: obj - Object to be wrapped. proxy object which implements all interfaces of the original object. |
wrap | public static Object wrap(Object obj, MeasurementConsumer consumer)(Code) | | Wraps object to measure methods performance.
Parameters: obj - Object to be wrapped. Parameters: consumer - Metric consumer. proxy object which implements all interfaces of the original object. |
|
|