Interface MetadataRuleManager

    • Method Detail

      • start

        void start()
      • stop

        void stop()
      • poll

        void poll()
      • getRulesWithDefault

        List<Rule> getRulesWithDefault​(String dataSource)
      • overrideRule

        boolean overrideRule​(String dataSource,
                             List<Rule> rulesConfig,
                             org.apache.druid.audit.AuditInfo auditInfo)
      • removeRulesForEmptyDatasourcesOlderThan

        int removeRulesForEmptyDatasourcesOlderThan​(long timestamp)
        Remove rules for non-existence datasource (datasource with no segment) created older than the given timestamp.
        Parameters:
        timestamp - timestamp in milliseconds
        Returns:
        number of rules removed