protected override void FreeUnManagedObjects() { LevelDBInterop.leveldb_cache_destroy(this.Handle); }
/// <summary> /// Create a new cache with a fixed size capacity. This implementation /// of Cache uses a LRU eviction policy. /// </summary> public Cache(int capacity) { this.Handle = LevelDBInterop.leveldb_cache_create_lru(capacity); }