类 PerformanceMonitorInterceptor

所有已实现的接口:
Serializable, Advice, Interceptor, MethodInterceptor

public class PerformanceMonitorInterceptor extends AbstractMonitoringInterceptor
Simple AOP Alliance MethodInterceptor for performance monitoring. This interceptor has no effect on the intercepted method call.

Uses a StopWatch for the actual performance measuring.

从以下版本开始:
3.0
作者:
Rod Johnson, Dmitriy Kopylenko, Rob Harrop, 海子 Yang
另请参阅:
  • 构造器详细资料

    • PerformanceMonitorInterceptor

      public PerformanceMonitorInterceptor()
      Create a new PerformanceMonitorInterceptor with a static logger.
    • PerformanceMonitorInterceptor

      public PerformanceMonitorInterceptor(boolean useDynamicLogger)
      Create a new PerformanceMonitorInterceptor with a dynamic or static logger, according to the given flag.
      参数:
      useDynamicLogger - whether to use a dynamic logger or a static logger
      另请参阅:
  • 方法详细资料