code: public void put(DBObject key, Object object) {
          //noinspection unchecked
          objectCache.put(flatten(key.toMap()), new WeakReference(object));
      }
docs: -------------------------------------------------------------