forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] Remove AbstractRocksDBRestoreOperation
So far both the RocksFullSnapshotRestoreOperation and RocksIncrementalRestoreOperation extended from AbstractRocksDBRestoreOperation in order to share some functions. However it required e.g. unnecessary parameters to be passed just to fulfill the requirements of the base class. Moreover a base class makes it harder to extend classes independently. This commit changes sharing the common code to use composition instead of inheritance.
- Loading branch information
Showing
6 changed files
with
261 additions
and
267 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
Oops, something went wrong.