@ ProbeAtEntry @ ProbeSite ( clazz = "com.ibm.ejs.j2c.FreePool" , method = "queueRequest" ) public void waitTimeEntry ( ) { if ( tc . isEntryEnabled ( ) ) { Tr . entry ( tc , "waitTimeEntry" ) ; } tlocalforwtTime . set ( System . currentTimeMillis ( ) ) ; if ( tc . isEntryEnabled ( ) ) { Tr . exit ( tc , "waitTimeEntry" ) ; } }
Code which sets the entry time for queueRequest for wait time . We set it in ThreadLocal variable