java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.AbstractMonitorTask
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.AbstractCollect
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MonoInstanceCollect, MultiInstanceCollect

public class AbstractCollect extends AbstractMonitorTask
An abstract class representing a collection task within the MetricsHub engine. Subclasses, such as MonoInstanceCollect and MultiInstanceCollect, define specific types of collection tasks. This class provides a common structure for all collection tasks, including sources, mappings, and execution order.
See Also:
  • Constructor Details

    • AbstractCollect

      public AbstractCollect(Map<String,Source> sources, Mapping mapping, Set<String> executionOrder)
      Creates an instance of AbstractCollect with the specified sources, mapping, and execution order.
      Parameters:
      sources - A map of source names to source configurations.
      mapping - The mapping configuration for the collection task.
      executionOrder - A set defining the order of execution for the collection task.