rocksdb/include/rocksdb
Andrew Kryczka fe395fb63d Allow incrementing refcount on cache handles
Summary:
Previously the only way to increment a handle's refcount was to invoke Lookup(), which (1) did hash table lookup to get cache handle, (2) incremented that handle's refcount. For a future DeleteRange optimization, I added a function, Ref(), for when the caller already has a cache handle and only needs to do (2).
Closes https://github.com/facebook/rocksdb/pull/1761

Differential Revision: D4397114

Pulled By: ajkr

fbshipit-source-id: 9addbe5
2017-01-10 16:54:20 -08:00
..
utilities Revert "PinnableSlice" 2017-01-08 14:24:12 -08:00
c.h C API: support total_order_mode 2017-01-03 18:39:14 -08:00
cache.h Allow incrementing refcount on cache handles 2017-01-10 16:54:20 -08:00
compaction_filter.h Support for range skips in compaction filter 2016-12-01 07:09:15 -08:00
compaction_job_stats.h Single Delete Mismatch and Fallthrough statistics 2016-08-16 08:21:43 -07:00
comparator.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
convenience.h Add GetSupportedCompressions() convenience function 2017-01-06 11:24:14 -08:00
db_bench_tool.h Separeate main from bench functionality to allow cusomizations 2016-02-16 06:17:31 -08:00
db_dump_tool.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
db.h Revert "PinnableSlice" 2017-01-08 14:24:12 -08:00
env.h direct io write support 2016-12-22 13:09:19 -08:00
experimental.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
filter_policy.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
flush_block_policy.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
iostats_context.h IOStatsContext::ToString() add option to exclude zero counters 2016-02-23 10:26:24 -08:00
iterator.h Revert "PinnableSlice" 2017-01-08 14:24:12 -08:00
ldb_tool.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
listener.h Add EventListener::OnExternalFileIngested() event 2016-12-06 14:09:17 -08:00
memtablerep.h Unified InlineSkipList::Insert algorithm with hinting 2016-11-22 14:09:13 -08:00
merge_operator.h Introduce FullMergeV2 (eliminate memcpy from merge operators) 2016-07-20 09:49:03 -07:00
metadata.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
options.h direct io write support 2016-12-22 13:09:19 -08:00
perf_context.h Less linear search in DBIter::Seek() when keys are overwritten a lot 2016-11-28 10:24:11 -08:00
perf_level.h Move away from enum char value -1 2016-06-14 17:07:34 -07:00
persistent_cache.h Dump persistent cache options 2016-12-19 14:09:12 -08:00
rate_limiter.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
slice_transform.h Improve documentation of SliceTransform. 2016-08-11 15:10:09 -07:00
slice.h Revert "PinnableSlice" 2017-01-08 14:24:12 -08:00
snapshot.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
sst_dump_tool.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
sst_file_manager.h Introduce SstFileManager::SetMaxAllowedSpaceUsage() to cap disk space usage 2016-02-17 15:20:23 -08:00
sst_file_writer.h Allow SstFileWriter to Fadvise the file away from page cache 2016-12-29 15:09:19 -08:00
statistics.h DeleteRange compaction statistics 2016-11-28 11:54:12 -08:00
status.h Fix rocksdb::Status::getState 2017-01-03 18:39:14 -08:00
table_properties.h Support SST files with Global sequence numbers [reland] 2016-10-18 16:59:37 -07:00
table.h direct io write support 2016-12-22 13:09:19 -08:00
thread_status.h Gcc 7 error expansion to defined 2016-12-13 18:39:14 -08:00
threadpool.h Expose ThreadPool under include/rocksdb/threadpool.h 2016-08-26 10:41:35 -07:00
transaction_log.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
types.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
universal_compaction.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
version.h Release RocksDB 5.0 2016-11-17 18:39:15 -08:00
wal_filter.h Avoid overloaded virtual function 2016-03-22 17:10:31 -07:00
write_batch_base.h WriteBatch support for range deletion 2016-08-16 08:16:04 -07:00
write_batch.h Add facility to write only a portion of WriteBatch to WAL 2016-10-07 11:32:10 -07:00
write_buffer_manager.h Avoid updating memtable allocated bytes if write_buffer_size is not set 2016-07-13 19:33:57 -07:00