|
|
@ -2007,6 +2007,7 @@ extern ROCKSDB_LIBRARY_API rocksdb_cache_t* |
|
|
|
rocksdb_cache_create_lru_with_strict_capacity_limit(size_t capacity); |
|
|
|
rocksdb_cache_create_lru_with_strict_capacity_limit(size_t capacity); |
|
|
|
extern ROCKSDB_LIBRARY_API rocksdb_cache_t* rocksdb_cache_create_lru_opts( |
|
|
|
extern ROCKSDB_LIBRARY_API rocksdb_cache_t* rocksdb_cache_create_lru_opts( |
|
|
|
rocksdb_lru_cache_options_t*); |
|
|
|
rocksdb_lru_cache_options_t*); |
|
|
|
|
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_cache_destroy(rocksdb_cache_t* cache); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_cache_destroy(rocksdb_cache_t* cache); |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_cache_disown_data( |
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_cache_disown_data( |
|
|
|
rocksdb_cache_t* cache); |
|
|
|
rocksdb_cache_t* cache); |
|
|
@ -2018,8 +2019,13 @@ extern ROCKSDB_LIBRARY_API size_t |
|
|
|
rocksdb_cache_get_usage(rocksdb_cache_t* cache); |
|
|
|
rocksdb_cache_get_usage(rocksdb_cache_t* cache); |
|
|
|
extern ROCKSDB_LIBRARY_API size_t |
|
|
|
extern ROCKSDB_LIBRARY_API size_t |
|
|
|
rocksdb_cache_get_pinned_usage(rocksdb_cache_t* cache); |
|
|
|
rocksdb_cache_get_pinned_usage(rocksdb_cache_t* cache); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API size_t |
|
|
|
|
|
|
|
rocksdb_cache_get_table_address_count(const rocksdb_cache_t* cache); |
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API size_t |
|
|
|
|
|
|
|
rocksdb_cache_get_occupancy_count(const rocksdb_cache_t* cache); |
|
|
|
|
|
|
|
|
|
|
|
/* HyperClockCache */ |
|
|
|
/* HyperClockCache */ |
|
|
|
|
|
|
|
|
|
|
|
extern ROCKSDB_LIBRARY_API rocksdb_hyper_clock_cache_options_t* |
|
|
|
extern ROCKSDB_LIBRARY_API rocksdb_hyper_clock_cache_options_t* |
|
|
|
rocksdb_hyper_clock_cache_options_create(size_t capacity, |
|
|
|
rocksdb_hyper_clock_cache_options_create(size_t capacity, |
|
|
|
size_t estimated_entry_charge); |
|
|
|
size_t estimated_entry_charge); |
|
|
|