All Implemented Interfaces:
Runnable, IStrategy

public class SimpleStrategy extends AbstractAllAtOnceStrategy
The SimpleStrategy class represents a simple strategy for executing monitor tasks. It extends AbstractAllAtOnceStrategy and is responsible for coordinating the execution of tasks for all monitors at once.

The class uses the TelemetryManager to manage monitors and metrics associated with the monitor tasks.

  • Constructor Details

    • SimpleStrategy

      public SimpleStrategy(@NonNull @NonNull TelemetryManager telemetryManager, @NonNull @NonNull Long strategyTime, @NonNull @NonNull ClientsExecutor clientsExecutor, @NonNull @NonNull ExtensionManager extensionManager)
      Builder for constructing instances of SimpleStrategy.
      Parameters:
      telemetryManager - The telemetry manager for managing monitors and metrics.
      strategyTime - The time at which the strategy is executed.
      clientsExecutor - The executor for running connector clients.
      extensionManager - The extension manager where all the required extensions are handled.