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
..
2016-12-22 13:09:19 -08:00
2016-12-05 17:39:17 -08:00
2016-08-19 12:28:19 -07:00
2016-11-21 12:24:13 -08:00
2016-08-19 12:28:19 -07:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-09-13 12:08:22 -07:00
2016-05-06 17:42:50 -07:00
2016-12-22 13:09:19 -08:00
2017-01-09 15:54:12 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-01 10:09:22 -08:00
2016-03-11 22:56:25 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-11-09 15:09:18 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-14 19:24:25 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-02-17 20:22:40 +08:00
2016-10-29 16:09:18 -07:00
2016-12-13 18:39:14 -08:00
2016-06-10 16:37:36 -07:00
2017-01-03 18:39:14 -08:00
2016-04-01 11:06:06 -07:00
2017-01-08 14:24:12 -08:00