Package | Description |
---|---|
org.redisson | |
org.redisson.api |
Modifier and Type | Method and Description |
---|---|
RScheduledFuture<?> |
RedissonExecutorService.schedule(Runnable task,
CronSchedule cronSchedule) |
RScheduledFuture<?> |
RedissonExecutorService.scheduleAsync(Runnable task,
CronSchedule cronSchedule) |
Modifier and Type | Method and Description |
---|---|
static CronSchedule |
CronSchedule.dailyAtHourAndMinute(int hour,
int minute)
Creates cron expression which schedule task execution
every day at the given time
|
static CronSchedule |
CronSchedule.monthlyOnDayAndHourAndMinute(int dayOfMonth,
int hour,
int minute)
Creates cron expression which schedule task execution
every given day of the month at the given time
|
static CronSchedule |
CronSchedule.of(String expression)
Creates cron expression object with defined expression string
|
static CronSchedule |
CronSchedule.weeklyOnDayAndHourAndMinute(int hour,
int minute,
Integer... daysOfWeek)
Creates cron expression which schedule task execution
every given days of the week at the given time.
|
Modifier and Type | Method and Description |
---|---|
ScheduledFuture<?> |
RScheduledExecutorService.schedule(Runnable task,
CronSchedule cronSchedule)
Creates and executes a periodic action with cron schedule object.
|
RScheduledFuture<?> |
RScheduledExecutorServiceAsync.scheduleAsync(Runnable task,
CronSchedule cronSchedule)
Creates in async mode and executes a periodic action with cron schedule object.
|
Copyright © 2014–2018 The Redisson Project. All rights reserved.