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

io.adtrace.sdk.scheduler.FutureScheduler Maven / Gradle / Ivy

There is a newer version: 2.6.1
Show newest version
package io.adtrace.sdk.scheduler;

import java.util.concurrent.Callable;
import java.util.concurrent.ScheduledFuture;


/**
 * AdTrace android SDK (https://adtrace.io)
 * Created by Nasser Amini (github.com/namini40) on April 2022.
 * Notice: See LICENSE.txt for modification and distribution information
 *                   Copyright © 2022.
 */

public interface FutureScheduler {
    ScheduledFuture scheduleFuture(Runnable command, long millisecondDelay);
    ScheduledFuture scheduleFutureWithFixedDelay(Runnable command,
                                                    long initialMillisecondDelay,
                                                    long millisecondDelay);
     ScheduledFuture scheduleFutureWithReturn(Callable callable, long millisecondDelay);

    void teardown();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy