public void log ( String fullTemplateName , long startTime , long stopTime , long contentLength , Object [ ] params ) { //System.out.println(fullTemplateName + ", " + (stopTime-startTime) + ", " + contentLength); TemplateStats stats = ( TemplateStats ) mStatsMap . get ( fullTemplateName ) ; if ( stats == null ) { stats = new TemplateStats ( fullTemplateName , mRawWindowSize , mAggregateWindowSize ) ; mStatsMap . put ( fullTemplateName , stats ) ; } stats . log ( startTime , stopTime , contentLength , params ) ; }
Logs an invokation of an http template invocation .