public interface WriteJsonStream<T>
extends org.vertx.java.core.streams.ExceptionSupport<T>, org.vertx.java.core.streams.DrainSupport<T>
Any class that implements this interface can be used by a SolrPump to pump data to it.
This interface exposes a fluent api and the type T represents the type of the object that implements the interface to allow method chaining
| Modifier and Type | Method and Description |
|---|---|
T |
write(org.vertx.java.core.json.JsonObject jsonObject)
Write some data to the stream.
|
T write(org.vertx.java.core.json.JsonObject jsonObject)
DrainSupport.writeQueueFull() method before writing. This is done automatically if using a
SolrPump.jsonObject - JsonObject we write toCopyright © 2015 Englishtown. All rights reserved.