Class BatchProcessEsDAO
- java.lang.Object
-
- org.apache.skywalking.oap.server.core.storage.AbstractDAO<ElasticSearchClient>
-
- org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO
-
- org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.BatchProcessEsDAO
-
-
Field Summary
-
Fields inherited from class org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO
SCROLL_CONTEXT_RETENTION
-
-
Constructor Summary
Constructors Constructor Description BatchProcessEsDAO(ElasticSearchClient client, int bulkActions, int flushInterval, int concurrentRequests, int batchOfBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendOfFlush()CompletableFuture<Void>flush(List<PrepareRequest> prepareRequests)voidinsert(InsertRequest insertRequest)-
Methods inherited from class org.apache.skywalking.oap.server.core.storage.AbstractDAO
getClient
-
-
-
-
Constructor Detail
-
BatchProcessEsDAO
public BatchProcessEsDAO(ElasticSearchClient client, int bulkActions, int flushInterval, int concurrentRequests, int batchOfBytes)
-
-
Method Detail
-
insert
public void insert(InsertRequest insertRequest)
-
flush
public CompletableFuture<Void> flush(List<PrepareRequest> prepareRequests)
-
endOfFlush
public void endOfFlush()
- Specified by:
endOfFlushin interfaceIBatchDAO
-
-