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

com.arextest.schedule.planexecution.PlanMonitorHandler Maven / Gradle / Ivy

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

import com.arextest.schedule.model.ReplayPlan;

/**
 * @author wildeslam.
 * @create 2023/7/31 15:44
 */
public interface PlanMonitorHandler {

  /**
   * Execute cyclically.
   */
  void handle(ReplayPlan plan);

  /**
   * Execute when deRegister.
   */
  void end(ReplayPlan plan);

  /**
   * Get period.
   */
  default long periodSeconds() {
    return 5L;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy