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

io.vtom.vertx.pipeline.component.periodic.Periodic Maven / Gradle / Ivy

There is a newer version: 1.1-beta
Show newest version
package io.vtom.vertx.pipeline.component.periodic;

import io.vertx.core.Handler;
import io.vtom.vertx.pipeline.lifecycle.skip.Skip;
import io.vtom.vertx.pipeline.step.StepIN;
import io.vtom.vertx.pipeline.step.StepOUT;

public interface Periodic extends StepIN {

  static VtmPeriodicSubmit submit(Handler handler) {
    return new VtmPeriodicSubmit(handler);
  }

  static VtmPeriodicCancel cancel(long id) {
    return new VtmPeriodicCancel(id);
  }

  static VtmPeriodicStream stream(long delay) {
    return new VtmPeriodicStream(delay);
  }

  @Override
  Periodic skip(Handler stepskip);

  @Override
  StepOUT out();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy