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) voidsetInterval(Runnable command, long initialDelaySec, long periodSec) voidshutdown()void
-
Constructor Details
-
UnleashScheduledExecutorImpl
public UnleashScheduledExecutorImpl()
-
-
Method Details
-
getInstance
-
setInterval
- Specified by:
setIntervalin interfaceUnleashScheduledExecutor
-
scheduleOnce
- Specified by:
scheduleOncein interfaceUnleashScheduledExecutor
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceUnleashScheduledExecutor
-
shutdownNow
public void shutdownNow()- Specified by:
shutdownNowin interfaceUnleashScheduledExecutor
-