mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
Make Engine.awaitPendingClose protected (#130004)
So that the method can be used by classes implementing the Engine abstract class.
This commit is contained in:
parent
9e06a22398
commit
65788cb6fe
1 changed files with 1 additions and 1 deletions
|
@ -2199,7 +2199,7 @@ public abstract class Engine implements Closeable {
|
|||
awaitPendingClose();
|
||||
}
|
||||
|
||||
private void awaitPendingClose() {
|
||||
protected final void awaitPendingClose() {
|
||||
try {
|
||||
closedLatch.await();
|
||||
} catch (InterruptedException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue