Absorb core ShardsIndicesStatusChecker logic into body of run

This commit is contained in:
Jason Tedor 2015-12-04 15:16:22 -05:00
parent 5341404f01
commit 56328160c9
1 changed files with 0 additions and 4 deletions

View File

@ -241,10 +241,6 @@ public class IndexingMemoryController extends AbstractLifecycleComponent<Indexin
class ShardsIndicesStatusChecker implements Runnable {
@Override
public synchronized void run() {
calcAndSetShardBuffers();
}
private void calcAndSetShardBuffers() {
List<IndexShard> availableShards = availableShards();
List<IndexShard> activeShards = new ArrayList<>();
for (IndexShard shard : availableShards) {