Class LuceneBatchedWork<T>
- java.lang.Object
-
- org.hibernate.search.backend.lucene.orchestration.impl.LuceneBatchedWork<T>
-
- All Implemented Interfaces:
BatchedWork<LuceneBatchedWorkProcessor>
public class LuceneBatchedWork<T> extends Object implements BatchedWork<LuceneBatchedWorkProcessor>
-
-
Field Summary
Fields Modifier and Type Field Description CompletableFuture<T>futureIndexingWork<T>work
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmarkAsFailed(Throwable t)voidsubmitTo(LuceneBatchedWorkProcessor processor)
-
-
-
Field Detail
-
work
public final IndexingWork<T> work
-
future
public final CompletableFuture<T> future
-
-
Method Detail
-
submitTo
public void submitTo(LuceneBatchedWorkProcessor processor)
- Specified by:
submitToin interfaceBatchedWork<T>
-
markAsFailed
public void markAsFailed(Throwable t)
- Specified by:
markAsFailedin interfaceBatchedWork<T>
-
-