public class DeliveryOpts
extends java.lang.Object
The delivery options we use for streaming callback
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOGGER |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.eventbus.DeliveryOptions |
complete(int finalCount,
java.lang.String cacheHeader) |
static io.vertx.core.eventbus.DeliveryOptions |
data(int count,
java.lang.String cacheHeader) |
static io.vertx.core.eventbus.DeliveryOptions |
failure(java.lang.String cause,
java.lang.String cacheHeader) |
static io.vertx.core.eventbus.DeliveryOptions |
success() |
public static io.vertx.core.eventbus.DeliveryOptions complete(int finalCount, java.lang.String cacheHeader)
finalCount
- cacheHeader
- public static io.vertx.core.eventbus.DeliveryOptions data(int count, java.lang.String cacheHeader)
count
- THe how many call was thiscacheHeader
- public static io.vertx.core.eventbus.DeliveryOptions failure(java.lang.String cause, java.lang.String cacheHeader)
cause
- cacheHeader
- public static io.vertx.core.eventbus.DeliveryOptions success()