Uses of Class
org.hibernate.search.engine.backend.work.execution.OperationSubmitter
Packages that use OperationSubmitter
Package
Description
-
Uses of OperationSubmitter in org.hibernate.search.engine.backend.orchestration.spi
Methods in org.hibernate.search.engine.backend.orchestration.spi with parameters of type OperationSubmitterModifier and TypeMethodDescriptionprotected abstract voidAbstractWorkOrchestrator.doSubmit(W work, OperationSubmitter operationSubmitter) final voidAbstractWorkOrchestrator.submit(W work, OperationSubmitter operationSubmitter) voidBatchingExecutor.submit(W work, OperationSubmitter operationSubmitter) Submit a work for execution. -
Uses of OperationSubmitter in org.hibernate.search.engine.backend.schema.management.spi
Methods in org.hibernate.search.engine.backend.schema.management.spi with parameters of type OperationSubmitterModifier and TypeMethodDescriptionIndexSchemaManager.createIfMissing(OperationSubmitter operationSubmitter) Creates the schema if it doesn't already exist.IndexSchemaManager.createOrUpdate(OperationSubmitter operationSubmitter) Creates the schema if it doesn't already exist, or updates the existing schema to match requirements expressed by the mapper.IndexSchemaManager.createOrValidate(ContextualFailureCollector failureCollector, OperationSubmitter operationSubmitter) Creates the schema if it doesn't already exist, or validates the existing schema against requirements expressed by the mapper.IndexSchemaManager.dropAndCreate(OperationSubmitter operationSubmitter) Drops the schema and all indexed data if it exists, then creates the schema.IndexSchemaManager.dropIfExisting(OperationSubmitter operationSubmitter) Drops the schema and all indexed data if it exists.IndexSchemaManager.validate(ContextualFailureCollector failureCollector, OperationSubmitter operationSubmitter) Validates the existing schema against requirements expressed by the mapper. -
Uses of OperationSubmitter in org.hibernate.search.engine.backend.work.execution
Methods in org.hibernate.search.engine.backend.work.execution that return OperationSubmitterModifier and TypeMethodDescriptionstatic OperationSubmitterOperationSubmitter.blocking()When using this submitter, dding a new element will block the thread when the underlying queue is aBlockingQueueand it is at its maximum capacity, until some elements are removed from the queuestatic OperationSubmitterOperationSubmitter.offloading(Consumer<Runnable> executor) Creates an operation submitter that would attempt to submit work to a queue, but in case the queue is full it would offload the submitting of the operation to provided executor.static OperationSubmitterOperationSubmitter.rejecting()When using this submitter adding a new element will cause aRejectedExecutionExceptionwhen the underlying queue is aBlockingQueueand it is at its maximum capacity. -
Uses of OperationSubmitter in org.hibernate.search.engine.backend.work.execution.spi
Methods in org.hibernate.search.engine.backend.work.execution.spi with parameters of type OperationSubmitterModifier and TypeMethodDescriptionIndexIndexer.add(DocumentReferenceProvider referenceProvider, DocumentContributor documentContributor, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Add a document to the index, assuming that the document is absent from the index.IndexIndexer.addOrUpdate(DocumentReferenceProvider referenceProvider, DocumentContributor documentContributor, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Update a document in the index, or add it if it's absent from the index.IndexIndexer.delete(DocumentReferenceProvider referenceProvider, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Delete a document from the index.default CompletableFuture<?>IndexIndexingPlan.execute(OperationSubmitter operationSubmitter) Start executing all the works in this plan, and clear the plan so that it can be re-used.IndexIndexingPlan.executeAndReport(OperationSubmitter operationSubmitter) Start executing all the works in this plan, and clear the plan so that it can be re-used.IndexWorkspace.flush(OperationSubmitter operationSubmitter) IndexWorkspace.mergeSegments(OperationSubmitter operationSubmitter) IndexWorkspace.purge(Set<String> routingKeys, OperationSubmitter operationSubmitter) IndexWorkspace.refresh(OperationSubmitter operationSubmitter)