void Network::start() { state = Running; if (notificationHandler) { notificationHandler->networkStateChanged(state); } runSetup(); }
/* Version 2 of the API will allow the wait group to grow on demand, so we start small. */ int runSetup_v2(NDBT_Context* ctx, NDBT_Step* step) { Ndb* pNdb = GETNDB(step); Ndb_cluster_connection* conn = &pNdb->get_ndb_cluster_connection(); global_ndb_pool = new NdbPool(conn); return runSetup(ctx, step, 7); }
/* NdbWaitGroup version 1 API uses a fixed-size wait group. It cannot grow. We size it at 1000 Ndbs. */ int runSetup_v1(NDBT_Context* ctx, NDBT_Step* step) { return runSetup(ctx, step, 1000); }