no.finn.unleash.util.UnleashScheduledExecutor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unleash-client-java Show documentation
Show all versions of unleash-client-java Show documentation
A client library for Unleash
package no.finn.unleash.util;
import java.util.concurrent.Future;
import java.util.concurrent.RejectedExecutionException;
import java.util.concurrent.ScheduledFuture;
public interface UnleashScheduledExecutor {
ScheduledFuture setInterval(
Runnable command, long initialDelaySec, long periodSec) throws RejectedExecutionException;
Future scheduleOnce(Runnable runnable);
default public void shutdown() {
}
}