Package org.apache.fulcrum.yaafi.interceptor.util

Examples of org.apache.fulcrum.yaafi.interceptor.util.StopWatch.stop()


        if( this.getLogger().isErrorEnabled() )
        {
          if( this.isMonitorAllExceptions() || this.isServiceMonitored(interceptorContext) )
          {
              StopWatch stopWatch = this.getStopWatch(interceptorContext);
              stopWatch.stop();
              String msg = this.toString(interceptorContext, stopWatch, t);
              this.getLogger().error(msg);
          }
        }
    }
View Full Code Here


        if( this.isServiceMonitored(interceptorContext) )
        {
            if( this.getLogger().isDebugEnabled() )
            {
                StopWatch stopWatch = this.getStopWatch(interceptorContext);
                stopWatch.stop();
                String msg = this.toString(interceptorContext, stopWatch, result);
                this.getLogger().debug(msg);
            }
        }
    }
View Full Code Here

    public void onError(AvalonInterceptorContext interceptorContext,Throwable t)
    {
        if( this.isServiceMonitored(interceptorContext) )
        {
            StopWatch stopWatch = this.getStopWatch(interceptorContext);
            stopWatch.stop();
            this.log( ON_ERROR, interceptorContext, stopWatch );
        }
    }

    /**
 
View Full Code Here

        if( this.isServiceMonitored(interceptorContext) )
        {
            if( this.isServiceMonitored(interceptorContext) )
            {
                StopWatch stopWatch = this.getStopWatch(interceptorContext);
                stopWatch.stop();
                this.log( ON_EXIT, interceptorContext, stopWatch );
            }
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.