Uses of Class
org.hibernate.search.engine.backend.work.execution.OperationSubmitter
Packages that use OperationSubmitter
Package
Description
-
Uses of OperationSubmitter in org.hibernate.search.backend.lucene.index
Methods in org.hibernate.search.backend.lucene.index with parameters of type OperationSubmitterModifier and TypeMethodDescriptionLuceneIndexManager.computeSizeInBytesAsync
(OperationSubmitter operationSubmitter) -
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 void
AbstractWorkOrchestrator.doSubmit
(W work, OperationSubmitter operationSubmitter) final void
AbstractWorkOrchestrator.submit
(W work, OperationSubmitter operationSubmitter) void
BatchingExecutor.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 OperationSubmitter
OperationSubmitter.blocking()
When using this submitter, dding a new element will block the thread when the underlying queue is aBlockingQueue
and it is at its maximum capacity, until some elements are removed from the queuestatic OperationSubmitter
OperationSubmitter.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 OperationSubmitter
OperationSubmitter.rejecting()
When using this submitter adding a new element will cause aRejectedExecutionException
when the underlying queue is aBlockingQueue
and 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) -
Uses of OperationSubmitter in org.hibernate.search.mapper.orm.automaticindexing.session
Methods in org.hibernate.search.mapper.orm.automaticindexing.session with parameters of type OperationSubmitterModifier and TypeMethodDescriptionvoid
AutomaticIndexingSynchronizationConfigurationContext.operationSubmitter
(OperationSubmitter operationSubmitter) Deprecated.Set operation submitter to be applied while executing underlying plans. -
Uses of OperationSubmitter in org.hibernate.search.mapper.orm.automaticindexing.spi
Methods in org.hibernate.search.mapper.orm.automaticindexing.spi with parameters of type OperationSubmitterModifier and TypeMethodDescriptionAutomaticIndexingQueueEventProcessingPlan.executeAndReport
(OperationSubmitter operationSubmitter) Writes all pending changes to the index now, and clears the plan so that it can be re-used.AutomaticIndexingQueueEventSendingPlan.sendAndReport
(OperationSubmitter operationSubmitter) Sends the events to the queue. -
Uses of OperationSubmitter in org.hibernate.search.mapper.pojo.schema.management.spi
Methods in org.hibernate.search.mapper.pojo.schema.management.spi with parameters of type OperationSubmitterModifier and TypeMethodDescriptionPojoScopeSchemaManager.createIfMissing
(FailureCollector failureCollector, OperationSubmitter operationSubmitter) PojoScopeSchemaManager.createOrUpdate
(FailureCollector failureCollector, OperationSubmitter operationSubmitter) PojoScopeSchemaManager.createOrValidate
(FailureCollector failureCollector, OperationSubmitter operationSubmitter) PojoScopeSchemaManager.dropAndCreate
(FailureCollector failureCollector, OperationSubmitter operationSubmitter) PojoScopeSchemaManager.dropIfExisting
(FailureCollector failureCollector, OperationSubmitter operationSubmitter) PojoScopeSchemaManager.validate
(FailureCollector failureCollector, OperationSubmitter operationSubmitter) -
Uses of OperationSubmitter in org.hibernate.search.mapper.pojo.work
Methods in org.hibernate.search.mapper.pojo.work with parameters of type OperationSubmitterModifier and TypeMethodDescriptionvoid
IndexingPlanSynchronizationStrategyConfigurationContext.operationSubmitter
(OperationSubmitter operationSubmitter) Set operation submitter to be applied while executing underlying plans. -
Uses of OperationSubmitter in org.hibernate.search.mapper.pojo.work.spi
Methods in org.hibernate.search.mapper.pojo.work.spi with parameters of type OperationSubmitterModifier and TypeMethodDescriptionPojoIndexer.add
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Add an entity to the index, assuming that the entity is absent from the index.PojoIndexer.addOrUpdate
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Update an entity in the index, or add it if it's absent from the index.PojoIndexer.delete
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Delete an entity from the index.PojoIndexer.delete
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Purge an entity from the index.PojoIndexingPlan.executeAndReport
(OperationSubmitter operationSubmitter) Write all pending changes to the index now, without waiting for a Hibernate ORM flush event or transaction commit, and clear the plan so that it can be re-used.PojoIndexingQueueEventProcessingPlan.executeAndReport
(OperationSubmitter operationSubmitter) Writes all pending changes to the index now, and clears the plan so that it can be re-used.PojoScopeWorkspace.flush
(OperationSubmitter operationSubmitter) PojoScopeWorkspace.mergeSegments
(OperationSubmitter operationSubmitter) void
ConfiguredIndexingPlanSynchronizationStrategy.Builder.operationSubmitter
(OperationSubmitter operationSubmitter) PojoScopeWorkspace.purge
(Set<String> routingKeys, OperationSubmitter operationSubmitter) PojoScopeWorkspace.refresh
(OperationSubmitter operationSubmitter) PojoIndexingQueueEventSendingPlan.sendAndReport
(OperationSubmitter operationSubmitter) Sends the events to the queue.