Class ConnectorStagingManager
java.lang.Object
org.sentrysoftware.metricshub.engine.strategy.detection.ConnectorStagingManager
This class stages connector identifiers based on configured directives.
It facilitates the identification of connectors for automatic detection and forced inclusion or exclusion.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the staged connector identifiers for automatic detection and forced inclusion. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a ConnectorStagingManager with default settings and disable logging by default.ConnectorStagingManager(String hostname) Constructs a ConnectorStagingManager with the given hostname and enables logging by default. -
Method Summary
Modifier and TypeMethodDescriptionstage(@NonNull ConnectorStore connectorStore, Set<String> configuredConnectorDirectives) Stage connector identifiers based on configured directives.
-
Constructor Details
-
ConnectorStagingManager
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.
-