Class Runner
java.lang.Object
com.yahoo.vespa.http.client.runner.Runner
- Author:
- Einar M R Rosenvinge, dybis
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static long
send
(FeedClient feedClient, InputStream inputStream, boolean isJson, AtomicInteger numSent, boolean verbose) Feed data from inputFile to session.
-
Constructor Details
-
Runner
public Runner()
-
-
Method Details
-
send
public static long send(FeedClient feedClient, InputStream inputStream, boolean isJson, AtomicInteger numSent, boolean verbose) Feed data from inputFile to session.- Parameters:
feedClient
- where to send data toinputStream
- source of dataisJson
- if input stream is of json formatted datanumSent
- is updated while sending by this methodverbose
- if true will print some information to stderr- Returns:
- send time in ms, not including validating
-
main
- Throws:
IOException
-