Add API for setting promotion policy params

Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
This commit is contained in:
Katarzyna Treder
2024-09-13 21:18:20 +02:00
parent 8f5dbc997b
commit 8c0f4f5ad1
3 changed files with 71 additions and 1 deletions

View File

@@ -217,7 +217,7 @@ class FlushParametersAcp:
class SeqCutOffParameters:
def __init__(
self, policy: CleaningPolicy = None, threshold: Size = None, promotion_count: int = None
self, policy: SeqCutOffPolicy = None, threshold: Size = None, promotion_count: int = None
):
self.policy = policy
self.threshold = threshold