public interface BarrierElasticsearchWorkOrchestrator extends ElasticsearchWorkOrchestrator, AutoCloseable
ElasticsearchWorkOrchestrator providing a synchronization barrier
through its awaitCompletion() method.| Modifier and Type | Method and Description |
|---|---|
void |
awaitCompletion()
Block until there is no more work to execute.
|
void |
close() |
submit, submitvoid awaitCompletion()
throws InterruptedException
N.B. if more works are submitted in the meantime, this might delay the wait.
InterruptedException - if thread interrupted while waitingvoid close()
close in interface AutoCloseableCopyright © 2006–2017 Hibernate. All rights reserved.