public class BulkProcessingOptions extends Object
| Constructor and Description |
|---|
BulkProcessingOptions(String name,
int concurrentRequests,
int bulkActions,
org.elasticsearch.common.unit.ByteSizeValue bulkSize,
org.elasticsearch.common.unit.TimeValue flushInterval,
org.elasticsearch.action.bulk.BackoffPolicy backoffPolicy) |
| Modifier and Type | Method and Description |
|---|---|
static BulkProcessingOptionsBuilder |
builder() |
org.elasticsearch.action.bulk.BackoffPolicy |
getBackoffPolicy() |
int |
getBulkActions() |
org.elasticsearch.common.unit.ByteSizeValue |
getBulkSize() |
int |
getConcurrentRequests() |
org.elasticsearch.common.unit.TimeValue |
getFlushInterval() |
String |
getName() |
public BulkProcessingOptions(String name, int concurrentRequests, int bulkActions, org.elasticsearch.common.unit.ByteSizeValue bulkSize, org.elasticsearch.common.unit.TimeValue flushInterval, org.elasticsearch.action.bulk.BackoffPolicy backoffPolicy)
public String getName()
public int getConcurrentRequests()
public int getBulkActions()
public org.elasticsearch.common.unit.ByteSizeValue getBulkSize()
public org.elasticsearch.common.unit.TimeValue getFlushInterval()
public org.elasticsearch.action.bulk.BackoffPolicy getBackoffPolicy()
public static BulkProcessingOptionsBuilder builder()
Copyright © 2019. All rights reserved.