private void checkReady ( ) { if ( allReady ( ) ) { log . debug ( String . format ( "%s - All components ready in network, starting components" , NetworkManager . this ) ) ; // Set the network's status key to the current context version. This // can be used by listeners to determine when a configuration change is complete. data . put ( currentContext . status ( ) , currentContext . version ( ) , new Handler < AsyncResult < String > > ( ) { @ Override public void handle ( AsyncResult < String > result ) { if ( result . failed ( ) ) { log . error ( result . cause ( ) ) ; } } } ) ; } }
Checks whether the network is ready .