public interface LaunchableTask
|Modifier and Type||Method and Description|
Prepare to launch the task by producing a Mesos TaskInfo record.
Get a representation of the task requirements as understood by Fenzo.
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–2020 The Apache Software Foundation. All rights reserved.