Class ConnectorStagingManager

java.lang.Object
org.sentrysoftware.metricshub.engine.strategy.detection.ConnectorStagingManager

public class ConnectorStagingManager extends Object
This class stages connector identifiers based on configured directives. It facilitates the identification of connectors for automatic detection and forced inclusion or exclusion.
  • Constructor Details

    • ConnectorStagingManager

      public ConnectorStagingManager(String hostname)
      Constructs a ConnectorStagingManager with the given hostname and enables logging by default.
      Parameters:
      hostname - The host name of the resource we currently monitor
    • ConnectorStagingManager

      public ConnectorStagingManager()
      Constructs a ConnectorStagingManager with default settings and disable logging by default.
  • Method Details

    • stage

      public ConnectorStagingManager.StagedConnectorIdentifiers stage(@NonNull @NonNull ConnectorStore connectorStore, Set<String> configuredConnectorDirectives)
      Stage connector identifiers based on configured directives.
      Parameters:
      connectorStore - The store containing connectors.
      configuredConnectorDirectives - Set of configured directives for connectors.
      Returns:
      Staged connector identifiers for automatic detection and forced inclusion.