Package io.getunleash.util
Class UnleashScheduledExecutorImpl
java.lang.Object
io.getunleash.util.UnleashScheduledExecutorImpl
- All Implemented Interfaces:
UnleashScheduledExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UnleashScheduledExecutorImplscheduleOnce(Runnable runnable) setInterval(Runnable command, long initialDelaySec, long periodSec) voidshutdown()
-
Constructor Details
-
UnleashScheduledExecutorImpl
public UnleashScheduledExecutorImpl()
-
-
Method Details
-
getInstance
-
setInterval
@Nullable public ScheduledFuture setInterval(Runnable command, long initialDelaySec, long periodSec) - Specified by:
setIntervalin interfaceUnleashScheduledExecutor
-
scheduleOnce
- Specified by:
scheduleOncein interfaceUnleashScheduledExecutor
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceUnleashScheduledExecutor
-