public class RedisJobStoreSchema extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_DELIMITER |
protected String |
delimiter |
protected static String |
JOB_GROUPS_SET |
protected static String |
JOBS_SET |
protected static String |
LOCK |
protected String |
prefix |
| Constructor and Description |
|---|
RedisJobStoreSchema() |
RedisJobStoreSchema(String prefix) |
RedisJobStoreSchema(String prefix,
String delimiter) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addPrefix(String key)
Add the configured prefix string to the given key
|
String |
blockedJobsSet() |
String |
calendarHashKey(String calendarName) |
String |
calendarName(String calendarHashKey) |
String |
calendarsSet() |
String |
calendarTriggersSetKey(String calendarName) |
String |
jobBlockedKey(org.quartz.JobKey jobKey) |
String |
jobDataMapHashKey(org.quartz.JobKey jobKey) |
String |
jobGroup(String jobGroupSetKey) |
String |
jobGroupSetKey(org.quartz.JobKey jobKey) |
String |
jobGroupsSet() |
String |
jobHashKey(org.quartz.JobKey jobKey) |
org.quartz.JobKey |
jobKey(String jobHashKey) |
String |
jobsSet() |
String |
jobTriggersSetKey(org.quartz.JobKey jobKey) |
String |
lastTriggerReleaseTime() |
String |
lockKey() |
String |
pausedJobGroupsSet() |
String |
pausedTriggerGroupsSet() |
protected List<String> |
split(String string)
Split a string on the configured delimiter
|
String |
triggerDataMapHashKey(org.quartz.TriggerKey triggerKey) |
String |
triggerGroup(String triggerGroupSetKey) |
String |
triggerGroupSetKey(org.quartz.TriggerKey triggerKey) |
String |
triggerGroupsSet() |
String |
triggerHashKey(org.quartz.TriggerKey triggerKey) |
org.quartz.TriggerKey |
triggerKey(String triggerHashKey) |
String |
triggerLockKey(org.quartz.TriggerKey triggerKey) |
String |
triggersSet() |
String |
triggerStateKey(RedisTriggerState state) |
protected static final String DEFAULT_DELIMITER
protected static final String JOBS_SET
protected static final String JOB_GROUPS_SET
protected static final String LOCK
protected final String prefix
protected final String delimiter
public RedisJobStoreSchema()
public RedisJobStoreSchema(String prefix)
prefix - the prefix to be prepended to all redis keyspublic String lockKey()
public String jobsSet()
public String jobGroupsSet()
public String jobHashKey(org.quartz.JobKey jobKey)
jobKey - JobKeypublic String jobDataMapHashKey(org.quartz.JobKey jobKey)
jobKey - JobKeypublic String jobGroupSetKey(org.quartz.JobKey jobKey)
jobKey - JobKeypublic org.quartz.JobKey jobKey(String jobHashKey)
jobHashKey - the hash key for a jobJobKey object describing the jobpublic String jobGroup(String jobGroupSetKey)
jobGroupSetKey - the redis key for a job group setpublic String jobTriggersSetKey(org.quartz.JobKey jobKey)
jobKey - the job key for which to get a trigger set keyJobKeypublic String blockedJobsSet()
public String triggerHashKey(org.quartz.TriggerKey triggerKey)
triggerKey - a trigger keyTriggerKeypublic String triggerDataMapHashKey(org.quartz.TriggerKey triggerKey)
triggerKey - TriggerKeypublic org.quartz.TriggerKey triggerKey(String triggerHashKey)
triggerHashKey - the hash key for a triggerTriggerKey object describing the desired triggerpublic String triggerGroup(String triggerGroupSetKey)
triggerGroupSetKey - the redis key for a trigger group setpublic String triggerGroupSetKey(org.quartz.TriggerKey triggerKey)
triggerKey - a trigger keyTriggerKeypublic String triggersSet()
public String triggerGroupsSet()
public String pausedTriggerGroupsSet()
public String triggerStateKey(RedisTriggerState state)
state - a RedisTriggerStatepublic String triggerLockKey(org.quartz.TriggerKey triggerKey)
triggerKey - the key of the trigger for which to retrieve a lock keypublic String jobBlockedKey(org.quartz.JobKey jobKey)
jobKey - the key of the job for which to retrieve a block keypublic String lastTriggerReleaseTime()
public String pausedJobGroupsSet()
public String calendarTriggersSetKey(String calendarName)
calendarName - the name of the calendar for which to retrieve a keypublic String calendarHashKey(String calendarName)
calendarName - the name of the calendar for which to retrieve a keypublic String calendarName(String calendarHashKey)
calendarHashKey - the redis key for a calendarpublic String calendarsSet()
protected String addPrefix(String key)
key - the key to which the prefix should be prependedCopyright © 2016. All rights reserved.