public interface LaunchableTask
Modifier and Type | Method and Description |
---|---|
org.apache.mesos.Protos.TaskInfo |
launch(org.apache.mesos.Protos.SlaveID slaveId,
MesosResourceAllocation allocation)
Prepare to launch the task by producing a Mesos TaskInfo record.
|
com.netflix.fenzo.TaskRequest |
taskRequest()
Get a representation of the task requirements as understood by Fenzo.
|
com.netflix.fenzo.TaskRequest taskRequest()
org.apache.mesos.Protos.TaskInfo launch(org.apache.mesos.Protos.SlaveID slaveId, MesosResourceAllocation allocation)
slaveId
- the slave assigned to the task.allocation
- the resource allocation to take from.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.