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

io.vertx.up.uca.job.timer.Interval Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.uca.job.timer;

import io.vertx.core.Handler;

/*
 * Scheduled for each
 */
public interface Interval {
    /**
     * Start schedule at
     *
     * @param delay    delay ms to begin
     * @param duration repeat for each duration
     * @param actuator Executor
     */
    long startAt(long delay, long duration, Handler actuator);

    /**
     * Start schedule from now without delay
     *
     * @param duration repeat for each duration
     * @param actuator Executor
     */
    long startAt(long duration, Handler actuator);

    /**
     * Start schedule once
     *
     * @param actuator Executor
     */
    long startAt(Handler actuator);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy