void resetConnectBackoff ( ) { try { synchronized ( lock ) { if ( state . getState ( ) != TRANSIENT_FAILURE ) { return ; } cancelReconnectTask ( ) ; channelLogger . log ( ChannelLogLevel . INFO , "CONNECTING; backoff interrupted" ) ; gotoNonErrorState ( CONNECTING ) ; startNewTransport ( ) ; } } finally { syncContext . drain ( ) ; } }
Immediately attempt to reconnect if the current state is TRANSIENT_FAILURE . Otherwise this method has no effect .