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 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, UnsupportedOperationBehavior unsupportedOperationBehavior) Flush to disk the changes to the index that were not committed yet.IndexWorkspace.mergeSegments(OperationSubmitter operationSubmitter, UnsupportedOperationBehavior unsupportedOperationBehavior) Merge all segments of the index into a single one.IndexWorkspace.purge(Set<String> routingKeys, OperationSubmitter operationSubmitter, UnsupportedOperationBehavior unsupportedOperationBehavior) Delete documents that were indexed with any of the given routing keys, or all documents if the set of routing keys is empty.IndexWorkspace.refresh(OperationSubmitter operationSubmitter, UnsupportedOperationBehavior unsupportedOperationBehavior) Refresh the indexes so that all changes executed so far will be visible in search queries. -
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 TypeMethodDescriptionvoidAutomaticIndexingSynchronizationConfigurationContext.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 TypeMethodDescriptionvoidIndexingPlanSynchronizationStrategyConfigurationContext.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.default CompletableFuture<?>PojoScopeWorkspace.flush(OperationSubmitter operationSubmitter) Deprecated.PojoScopeWorkspace.flush(OperationSubmitter operationSubmitter, UnsupportedOperationBehavior unsupportedOperationBehavior) default CompletableFuture<?>PojoScopeWorkspace.mergeSegments(OperationSubmitter operationSubmitter) Deprecated.PojoScopeWorkspace.mergeSegments(OperationSubmitter operationSubmitter, UnsupportedOperationBehavior unsupportedOperationBehavior) voidConfiguredIndexingPlanSynchronizationStrategy.Builder.operationSubmitter(OperationSubmitter operationSubmitter) default CompletableFuture<?>PojoScopeWorkspace.purge(Set<String> routingKeys, OperationSubmitter operationSubmitter) Deprecated.PojoScopeWorkspace.purge(Set<String> routingKeys, OperationSubmitter operationSubmitter, UnsupportedOperationBehavior unsupportedOperationBehavior) default CompletableFuture<?>PojoScopeWorkspace.refresh(OperationSubmitter operationSubmitter) Deprecated.PojoScopeWorkspace.refresh(OperationSubmitter operationSubmitter, UnsupportedOperationBehavior unsupportedOperationBehavior) PojoIndexingQueueEventSendingPlan.sendAndReport(OperationSubmitter operationSubmitter) Sends the events to the queue.