![JAR search and dependency download from the Maven repository](/logo.png)
io.getunleash.util.UnleashScheduledExecutor Maven / Gradle / Ivy
package io.getunleash.util;
import io.getunleash.lang.Nullable;
import java.util.concurrent.Future;
import java.util.concurrent.RejectedExecutionException;
import java.util.concurrent.ScheduledFuture;
public interface UnleashScheduledExecutor {
@Nullable
ScheduledFuture setInterval(Runnable command, long initialDelaySec, long periodSec)
throws RejectedExecutionException;
Future scheduleOnce(Runnable runnable);
public default void shutdown() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy