core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java
private void emptyWriteBuffer() {
    Runnable task = stateBuffer.poll();
    while (task != null) {
      task.run();
      task = stateBuffer.poll();
    }
  }
private void emptyWriteBuffer() {
    Runnable task = stateBuffer.poll();
    while (task != null) {
      task.run();
      task = stateBuffer.poll();
    }
  }
private void emptyWriteBuffer ( ) { Runnable task = stateBuffer . poll ( ) ; while ( task != null ) { task . run ( ) ; task = stateBuffer . poll ( ) ; } }
Read content of write buffer and adds/removes LRU entries to update internal statistic.
Method has to be wrapped by LRU lock.
Read content of write buffer and adds / removes LRU entries to update internal statistic . Method has to be wrapped by LRU lock .