All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arextest.schedule.resume.SelfHealingExecutor Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package com.arextest.schedule.resume;

import com.arextest.schedule.model.ReplayPlan;
import java.time.Duration;
import java.util.List;

/**
 * Created by Qzmo on 2023/5/24
 */
public interface SelfHealingExecutor {

  /**
   * Query plans created between [now-offset-max   to  now-offset] and have not been finished
   * correctly
   *
   * @return A list of timeout plans
   */
  List queryTimeoutPlan(Duration offsetDuration, Duration maxDuration);

  /**
   * Resume single replay plan
   */
  void doResume(ReplayPlan replayPlan);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy