public void start() throws GondolaException {
  try {
    logger.info("------- Gondola start: {}, {}, pid={} -------",hostId,config.getAddressForHost(hostId),processId);
    if (!inited) {
      init();
    }
    clock.start();
    network.start();
    storage.start();
    for (    Shard s : shards) {
      s.start();
    }
    threads.add(new RoleChangeNotifier());
    threads.forEach(null);
    objectName=new ObjectName("com.yahoo.gondola." + hostId + ":type=Stats");
    mbs.registerMBean(stats,objectName);
  }
 catch (  Exception e) {
    throw new GondolaException(e);
  }
}

public void start ( ) throws GondolaException { try { logger . info ( "------- Gondola start: {}, {}, pid={} -------" , hostId , config . getAddressForHost ( hostId ) , processId ) ; if ( ! inited ) { init ( ) ; } clock . start ( ) ; network . start ( ) ; storage . start ( ) ; for ( Shard s : shards ) { s . start ( ) ; } threads . add ( new RoleChangeNotifier ( ) ) ; threads . forEach ( null ) ; objectName = new ObjectName ( "com.yahoo.gondola." + hostId + ":type=Stats" ) ; mbs . registerMBean ( stats , objectName ) ; } catch ( Exception e ) { throw new GondolaException ( e ) ; } }
starts all threads and enables the gondola instance .
