public class BulkRequest<T> extends Object
Modifier and Type | Field and Description |
---|---|
static long[] |
SLEEP_TIME |
Constructor and Description |
---|
BulkRequest(io.searchbox.client.JestClient client,
List<T> documents,
java.util.function.Function<List<T>,BulkWrapper> documentToBulkTransformer,
int retryCount) |
Modifier and Type | Method and Description |
---|---|
BulkResultWrapper |
execute() |
static long |
getSleepTime(int retry) |
public BulkRequest(io.searchbox.client.JestClient client, List<T> documents, java.util.function.Function<List<T>,BulkWrapper> documentToBulkTransformer, int retryCount)
public BulkResultWrapper execute() throws IOException
IOException
public static long getSleepTime(int retry)
Copyright © 2021. All rights reserved.