public interface MetadataRuleManager
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<Rule>> |
getAllRules() |
List<Rule> |
getRules(String dataSource) |
List<Rule> |
getRulesWithDefault(String dataSource) |
boolean |
overrideRule(String dataSource,
List<Rule> rulesConfig,
AuditInfo auditInfo) |
void |
poll() |
int |
removeRulesForEmptyDatasourcesOlderThan(long timestamp)
Remove rules for non-existence datasource (datasource with no segment) created older than the given timestamp.
|
void |
start() |
void |
stop() |
void start()
void stop()
void poll()
int removeRulesForEmptyDatasourcesOlderThan(long timestamp)
timestamp - timestamp in millisecondsCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.