private Map < String , TimerImpl > getWaitingOnTxCompletionTimers ( ) { Map < String , TimerImpl > timers = null ; if ( getTransaction ( ) != null ) { timers = ( Map < String , TimerImpl > ) tsr . getResource ( waitingOnTxCompletionKey ) ; } return timers == null ? Collections . < String , TimerImpl > emptyMap ( ) : timers ; }
Returns an unmodifiable view of timers in the current transaction that are waiting for the transaction to finish