public class SendTaskStatus extends java.lang.Object implements Send
Send
for sending a Protos.TaskStatus
to a scheduler under test.Modifier and Type | Class and Description |
---|---|
static class |
SendTaskStatus.Builder
Builder for
SendTaskStatus . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns a description of this step for debugging by the user.
|
void |
send(ClusterState state,
SchedulerDriver mockDriver,
Scheduler scheduler)
Performs an action against the provided scheduler, optionally updating the provided cluster state to reflect
the action.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
offer, offerBuilder, register, replacePod, taskStatus
public java.lang.String getDescription()
SimulationTick
getDescription
in interface SimulationTick
public void send(ClusterState state, SchedulerDriver mockDriver, Scheduler scheduler)
Send