SchedulerDriverStatus scheduler_reviveOffers(SchedulerPtrPair state) { assert(state.driver != NULL); MesosSchedulerDriver* driver = reinterpret_cast<MesosSchedulerDriver*> (state.driver); return driver->reviveOffers(); }
SchedulerDriverStatus scheduler_reviveOffers(SchedulerDriverPtr driver) { TRACE("scheduler_reviveOffers()\n"); assert(driver != NULL); MesosSchedulerDriver* mdriver = reinterpret_cast<MesosSchedulerDriver*>(driver); return mdriver->reviveOffers(); }