Class BulkSelectQueryParallelProcessor
java.lang.Object
fr.gouv.vitam.metadata.common.bulkatomicupdate.BulkSelectQueryParallelProcessor
Handles execution of bulk select queries, in concurrent executors
This class is stateful, and supports concurrent access to public methods.
-
Constructor Summary
ConstructorDescriptionBulkSelectQueryParallelProcessor
(MetaDataClient metadataClient, InternalActionKeysRetriever internalActionKeysRetriever, int threadPoolSize, int threadPoolQueueSize, int batchSize, Consumer<BulkSelectQueryResultOK> successReporter, Consumer<BulkSelectQueryResultFailure> failureReporter, QueryRestrictionConverter queryRestrictionConverter, boolean allowInternalFieldsUpdate) -
Method Summary
Modifier and TypeMethodDescriptionint
getNbOKs()
int
void
processQueries
(Iterator<com.fasterxml.jackson.databind.JsonNode> queryIterator)
-
Constructor Details
-
BulkSelectQueryParallelProcessor
public BulkSelectQueryParallelProcessor(MetaDataClient metadataClient, InternalActionKeysRetriever internalActionKeysRetriever, int threadPoolSize, int threadPoolQueueSize, int batchSize, Consumer<BulkSelectQueryResultOK> successReporter, Consumer<BulkSelectQueryResultFailure> failureReporter, QueryRestrictionConverter queryRestrictionConverter, boolean allowInternalFieldsUpdate)
-
-
Method Details
-
processQueries
public void processQueries(Iterator<com.fasterxml.jackson.databind.JsonNode> queryIterator) throws InvalidParseOperationException - Throws:
InvalidParseOperationException
-
getNbWarnings
public int getNbWarnings() -
getNbOKs
public int getNbOKs()
-