use of mesos.internal.Messages.ReviveOffersMessage in project jesos by groupon.
the class InternalSchedulerDriver method reviveOffers.
@Override
public Status reviveOffers() {
if (!context.isStateMachine(DRIVER_RUNNING)) {
return context.getStateMachine();
}
final ReviveOffersMessage message = ReviveOffersMessage.newBuilder().setFrameworkId(context.getFrameworkId()).build();
eventBus.post(new RemoteMessageEnvelope(context.getDriverUPID(), context.getMasterUPID(), message));
return context.getStateMachine();
}
Aggregations