void (boolean transientInMemoryIndices) { if (myPreviousDataBufferingState != transientInMemoryIndices) { synchronized (myBufferingStateUpdateLock) { if (myPreviousDataBufferingState != transientInMemoryIndices) { getIndexes().forEach(index -> { try { index.setBufferingEnabled(transientInMemoryIndices); } catch (Exception e) { LOG.error(e); } }); myPreviousDataBufferingState = transientInMemoryIndices; } } } }