io.vtom.vertx.pipeline.component.periodic.Periodic Maven / Gradle / Ivy
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();
}