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) |
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 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()
Copyright © 2014. All rights reserved.