Skip to content

Commit

Permalink
Rename processAllPendingShardsEvictions (#67856)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlrx authored Jan 25, 2021
1 parent 9bac56b commit f31f464
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ protected void doStop() {
cacheSyncTask.close();
} finally {
try {
processAllPendingShardsEvictions();
waitForAllPendingShardsEvictions();
} finally {
try {
persistentCache.close();
Expand Down Expand Up @@ -450,9 +450,9 @@ private void processShardEviction(ShardEviction shardEviction) {
}

/**
* Processes and waits for all pending shard evictions to complete.
* Waits for all pending shard evictions to complete.
*/
private void processAllPendingShardsEvictions() {
private void waitForAllPendingShardsEvictions() {
synchronized (shardsEvictionsMutex) {
allowShardsEvictions = false;
}
Expand Down

0 comments on commit f31f464

Please sign in to comment.