public boolean setMasterHostFail ( ) { if ( masterHostFail . compareAndSet ( false , true ) ) { masterHostFailNanos = System . nanoTime ( ) ; currentConnectionAttempts . set ( 0 ) ; return true ; } return false ; }
Set master fail variables .