biz.hammurapi.metrics
Class MetricsAspect

java.lang.Object
  extended by biz.hammurapi.metrics.MetricsAspect

public class MetricsAspect
extends java.lang.Object

Metrics collecting aspect.

Author:
Pavel

Constructor Summary
MetricsAspect()
           
 
Method Summary
 void after(org.codehaus.aspectwerkz.joinpoint.StaticJoinPoint joinPoint)
          This method pops method start time from the thread local stack and reports method duration measurement.
 void before(org.codehaus.aspectwerkz.joinpoint.StaticJoinPoint joinPoint)
          This method pushes method start time to a thread local stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsAspect

public MetricsAspect()
Method Detail

before

public void before(org.codehaus.aspectwerkz.joinpoint.StaticJoinPoint joinPoint)
This method pushes method start time to a thread local stack.

Parameters:
joinPoint -

after

public void after(org.codehaus.aspectwerkz.joinpoint.StaticJoinPoint joinPoint)
This method pops method start time from the thread local stack and reports method duration measurement.

Parameters:
joinPoint -


Copyright © 2006 Hammurapi Group. All Rights Reserved.