com.arextest.schedule.resume.SelfHealingExecutor Maven / Gradle / Ivy
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);
}