public final void notifyStateTransferEnd ( ) { TotalOrderLatch block = stateTransferInProgress . getAndSet ( null ) ; if ( block != null ) { block . unBlock ( ) ; } if ( trace ) { log . tracef ( "State Transfer finish. It will release %s" , block ) ; } totalOrderExecutor . checkForReadyTasks ( ) ; }
It notifies the end of the state transfer possibly unblock waiting prepares .