Class EmbeddedCronScheduler
- java.lang.Object
-
- org.apache.felix.hc.core.impl.scheduling.cron.embedded.EmbeddedCronScheduler
-
-
Field Summary
Fields Modifier and Type Field Description ScheduledExecutorService
scheduledExecutorService
-
Constructor Summary
Constructors Constructor Description EmbeddedCronScheduler(ScheduledExecutorService scheduledExecutorService, long initialDelay, long checkInterval, TimeUnit timeUnit, String schedulerThreadName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
remove(AsyncEmbeddedCronJob cronJob)
void
run()
void
schedule(AsyncEmbeddedCronJob cronJob)
-
-
-
Field Detail
-
scheduledExecutorService
public final ScheduledExecutorService scheduledExecutorService
-
-
Constructor Detail
-
EmbeddedCronScheduler
public EmbeddedCronScheduler(ScheduledExecutorService scheduledExecutorService, long initialDelay, long checkInterval, TimeUnit timeUnit, String schedulerThreadName)
-
-
Method Detail
-
schedule
public void schedule(AsyncEmbeddedCronJob cronJob)
-
remove
public void remove(AsyncEmbeddedCronJob cronJob)
-
-