-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
options: Add generic validation implementation for use cases
A UseCase class is a Configurable class which represents a specific use case in rocksdb/speedb which we can use to populate options according to the specification of that use case, and/or validate the user's options against the expected possible configurations which fit that use case. As such, we add here 2 methods in Configurable which essentially take a UseCase and a set of options, and validates that the values of these options matches the values that the use case requires.
- Loading branch information
1 parent
86a315d
commit 41363d6
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters