Future<void> put(String key, dynamic value) async { await _database?.put(key, value); await _updateMetadataOnWrite(key); await _enforceEviction(); }