void kickOffTimer ( ) throws UnavailableException { final String methodName = "kickOffTimer" ; if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , methodName ) ; } synchronized ( _timerLock ) { // Another timer is already running - no need to create a new one if ( _timer != null ) { return ; } _timer = _bootstrapContext . createTimer ( ) ; _timer . schedule ( new TimerTask ( ) { @ Override public void run ( ) { try { synchronized ( _timerLock ) { _timer . cancel ( ) ; _timer = null ; timerLoop ( ) ; } } catch ( final ResourceException exception ) { FFDCFilter . processException ( exception , CLASS_NAME + "." + methodName , "1:420:1.45" , this ) ; SibTr . error ( TRACE , "CONNECT_FAILED_CWSIV0783" , new Object [ ] { _endpointConfiguration . getDestination ( ) . getDestinationName ( ) , _endpointConfiguration . getBusName ( ) , this , exception } ) ; } } } , _retryInterval ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . exit ( TRACE , methodName ) ; } }
Kicks of a timer to attempt to create connections after a user specified interval .