| Package | Description |
|---|---|
| org.apache.mesos |
| Modifier and Type | Class and Description |
|---|---|
class |
MesosExecutorDriver
Concrete implementation of an ExecutorDriver that connects an
Executor with a Mesos slave.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Executor.disconnected(ExecutorDriver driver)
Invoked when the executor becomes "disconnected" from the slave
(e.g., the slave is being restarted due to an upgrade).
|
void |
Executor.error(ExecutorDriver driver,
String message)
Invoked when a fatal error has occurred with the executor and/or
executor driver.
|
void |
Executor.frameworkMessage(ExecutorDriver driver,
byte[] data)
Invoked when a framework message has arrived for this
executor.
|
void |
Executor.killTask(ExecutorDriver driver,
org.apache.mesos.Protos.TaskID taskId)
Invoked when a task running within this executor has been killed
(via
SchedulerDriver.killTask(org.apache.mesos.Protos.TaskID)). |
void |
Executor.launchTask(ExecutorDriver driver,
org.apache.mesos.Protos.TaskInfo task)
Invoked when a task has been launched on this executor (initiated
via
SchedulerDriver.launchTasks(java.util.Collection<org.apache.mesos.Protos.OfferID>, java.util.Collection<org.apache.mesos.Protos.TaskInfo>, org.apache.mesos.Protos.Filters). |
void |
Executor.registered(ExecutorDriver driver,
org.apache.mesos.Protos.ExecutorInfo executorInfo,
org.apache.mesos.Protos.FrameworkInfo frameworkInfo,
org.apache.mesos.Protos.SlaveInfo slaveInfo)
Invoked once the executor driver has been able to successfully
connect with Mesos.
|
void |
Executor.reregistered(ExecutorDriver driver,
org.apache.mesos.Protos.SlaveInfo slaveInfo)
Invoked when the executor re-registers with a restarted slave.
|
void |
Executor.shutdown(ExecutorDriver driver)
Invoked when the executor should terminate all of it's currently
running tasks.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.