public class SendOffer extends java.lang.Object implements Send
Send
for sending a Protos.Offer
which matches a specified pod's requirements to a scheduler under
test.Modifier and Type | Class and Description |
---|---|
static class |
SendOffer.Builder
Builder for
SendOffer . |
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 void send(ClusterState state, SchedulerDriver mockDriver, Scheduler scheduler)
Send
public java.lang.String getDescription()
SimulationTick
getDescription
in interface SimulationTick