Package io.getunleash.util
Interface UnleashScheduledExecutor
- All Known Implementing Classes:
UnleashScheduledExecutorImpl
public interface UnleashScheduledExecutor
-
Method Summary
Modifier and TypeMethodDescriptionscheduleOnce(Runnable runnable) voidsetInterval(Runnable command, long initialDelaySec, long periodSec) default voidshutdown()default void
-
Method Details
-
setInterval
void setInterval(Runnable command, long initialDelaySec, long periodSec) throws RejectedExecutionException - Throws:
RejectedExecutionException
-
scheduleOnce
-
shutdown
default void shutdown() -
shutdownNow
default void shutdownNow()
-