core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java
public boolean close(K key) {
    emptyBuffers();

    final OClosableEntry<K, V> entry = data.get(key);
    if (entry == null)
      return true;

    if (entry.makeClosed()) {
      countClosedFiles();

      return true;
    }

    return false;
  }
public boolean close(K key) {
    emptyBuffers();

    final OClosableEntry<K, V> entry = data.get(key);
    if (entry == null)
      return true;

    if (entry.makeClosed()) {
      countClosedFiles();

      return true;
    }

    return false;
  }
Closes item related to passed in key.
Item will be closed if it exists and is not acquired.

@param key Key related to item that has going to be closed.

@return <code>true</code> if item was closed and <code>false</code> otherwise.