public interface RequestCycle<M>
Modifier and Type | Method and Description |
---|---|
void |
messageArrived(M message,
java.lang.Object key) |
void |
postRequest(Request<M> request,
long delay) |
void |
setConcurrency(int concurrency) |
void |
shutdown(boolean driverShutdown)
Shutdown the request cycle.
|
void |
startup() |
void startup()
void shutdown(boolean driverShutdown)
driverShutdown
- When true
, Request.fail(FailureType, DriverState, Exception)
won't be called during
shutdown.void messageArrived(M message, java.lang.Object key)
void setConcurrency(int concurrency)