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, waitoffer, offerBuilder, register, replacePod, taskStatuspublic void send(ClusterState state, SchedulerDriver mockDriver, Scheduler scheduler)
Sendpublic java.lang.String getDescription()
SimulationTickgetDescription in interface SimulationTick