org.apache.sirona.aop
Class AbstractPerformanceInterceptor.Context

java.lang.Object
  extended by org.apache.sirona.aop.AbstractPerformanceInterceptor.Context
Enclosing class:
AbstractPerformanceInterceptor<T>

public static class AbstractPerformanceInterceptor.Context
extends Object

The handler for cases where interception is not possible and you need to pass the "before"object to be able to monitor.


Field Summary
protected  AbstractPerformanceInterceptor.ActivationContext activationContext
           
protected  StopWatch stopWatch
           
 
Constructor Summary
AbstractPerformanceInterceptor.Context(AbstractPerformanceInterceptor.ActivationContext activationContext, StopWatch stopWatch)
           
 
Method Summary
 void stop()
           
 void stopWithException(Throwable error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activationContext

protected final AbstractPerformanceInterceptor.ActivationContext activationContext

stopWatch

protected final StopWatch stopWatch
Constructor Detail

AbstractPerformanceInterceptor.Context

public AbstractPerformanceInterceptor.Context(AbstractPerformanceInterceptor.ActivationContext activationContext,
                                              StopWatch stopWatch)
Method Detail

stop

public void stop()

stopWithException

public void stopWithException(Throwable error)


Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.