mrambacher 3aee4fbd41 Make EventListener into a Customizable Class (#8473)
Summary:
- Added Type/CreateFromString
- Added ability to load EventListeners to DBOptions
- Since EventListeners did not previously have a Name(), defaulted to "".  If there is no name, the listener cannot be loaded from the ObjectRegistry.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8473

Reviewed By: zhichao-cao

Differential Revision: D29901488

Pulled By: mrambacher

fbshipit-source-id: 2d3a4aa6db1562ac03e7ad41b360e3521d486254
2021-07-27 07:47:02 -07:00
..

The files in this directory originally come from
https://github.com/percona/PerconaFT/.

This directory only includes the "locktree" part of PerconaFT, and its
dependencies.

The following modifications were made:
- Make locktree usable outside of PerconaFT library
- Add shared read-only lock support

The files named *_subst.* are substitutes of the PerconaFT's files, they
contain replacements of PerconaFT's functionality.