public interface MesosResourceManagerActions
These are called by the MesosResourceManager components such
as LaunchCoordinator
, and TaskMonitor
.
Modifier and Type | Method and Description |
---|---|
void |
acceptOffers(AcceptOffers offersToAccept)
Accept the given offers as advised by the launch coordinator.
|
void |
reconcile(org.apache.flink.mesos.scheduler.ReconciliationCoordinator.Reconcile reconciliationRequest)
Trigger reconciliation with the Mesos master.
|
void |
taskTerminated(org.apache.flink.mesos.scheduler.TaskMonitor.TaskTerminated terminatedTask)
Notify that the given Mesos task has been terminated.
|
void acceptOffers(AcceptOffers offersToAccept)
Note: This method is a callback for the LaunchCoordinator
.
offersToAccept
- Offers to accept from Mesosvoid reconcile(org.apache.flink.mesos.scheduler.ReconciliationCoordinator.Reconcile reconciliationRequest)
Note: This method is a callback for the TaskMonitor
.
reconciliationRequest
- Message containing the tasks which shall be reconciledvoid taskTerminated(org.apache.flink.mesos.scheduler.TaskMonitor.TaskTerminated terminatedTask)
Note: This method is a callback for the TaskMonitor
.
terminatedTask
- Message containing the terminated taskCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.