public class SchedulerServiceImpl extends Object implements org.apache.unomi.api.services.SchedulerService
| Constructor and Description |
|---|
SchedulerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledExecutorService |
getScheduleExecutorService() |
ScheduledExecutorService |
getSharedScheduleExecutorService() |
static long |
getTimeDiffInSeconds(int hourInUtc,
ZonedDateTime now) |
void |
postConstruct() |
void |
preDestroy() |
void |
setThreadPoolSize(int threadPoolSize) |
public void postConstruct()
public void preDestroy()
public void setThreadPoolSize(int threadPoolSize)
public ScheduledExecutorService getScheduleExecutorService()
getScheduleExecutorService in interface org.apache.unomi.api.services.SchedulerServicepublic ScheduledExecutorService getSharedScheduleExecutorService()
getSharedScheduleExecutorService in interface org.apache.unomi.api.services.SchedulerServicepublic static long getTimeDiffInSeconds(int hourInUtc,
ZonedDateTime now)
Copyright © 2014–2023 Apache Software Foundation. All rights reserved.