Start the stopwatch.
This method starts a new timing session, clearing any previous values.
188189190191192193194195196197198
*/ protected void createStopWatch( AvalonInterceptorContext interceptorContext ) { StopWatch stopWatch = new StopWatch(); stopWatch.start(); interceptorContext.getRequestContext().put(this.getServiceName(),stopWatch); } /** * Gets the stop watch. Even if none is defined we return one
209210211212213214215216217218219
); if( result == null ) { result = new StopWatch(); result.start(); } return result; }
150151152153154155156157158159160
*/ protected void createStopWatch( AvalonInterceptorContext interceptorContext ) { StopWatch stopWatch = new StopWatch(); stopWatch.start(); interceptorContext.getRequestContext().put(this.getServiceName(),stopWatch); } /** * Gets the stop watch