forked from RedisLabs/redis-quartz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.txt
208 lines (143 loc) · 3.78 KB
/
schema.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
JOBS
=====
1. Job
type: Hash
key: 'job:<job_group_name>:<job_name>'
Field Value
job_class_name the implemented job class
description job's description
blocked_by blocked by instance id
block_time blocked timestamp
2. JobDataMap
type: Hash
key: 'job_data_map:<job_group_name>:<job_name>'
Field Value
field1 String
field2 String
...
3. JobGroup
type: Set
key: 'job_group:<job_group_name>'
Members
Job 'job:<job_group_name>:<job_name>'
4. Jobs
type: Set
key: 'jobs'
Members
Job 'job:<job_group_name>:<job_name>'
5. JobGroups
type: Set
key: 'job_groups'
Members
JobGroup 'job_group:<job_group_name>'
6. JobTriggers
type: Set
Key: 'job_triggers:job:<job_group_name>:<job_name>'
Members
Trigger 'trigger:<trigger_group_name>:<trigger_name>'
7. PausedJobGroups
type: Set
Key: 'paused_job_groups'
Members
JobGroup 'job_group:<job_group_name>'
8. BlockedJobs
type: Set
Key: 'blocked_jobs'
Members
Job 'job:<job_group_name>:<job_name>'
TRIGGERS
=========
1. Trigger
type: Hash
key: 'trigger:<trigger_group_name>:<trigger_name>'
Field Value
job_hash_key the job's key
next_fire_time
prev_fire_time
priority
trigger_type
calendar_name the calendar's name
start_time
end_time
final_fire_time
fire_instance_id the firing instance id
misfire_instruction
locked_by locking instance id
lock_time locking timestamp
Simple Trigger Fields
repeat_count
repeat_interval
times_triggered
Cron Trigger Fields
cron_expression
time_zone_id
2. TriggerGroup
type: Set
Key: 'trigger_group:<trigger_group_name>'
Members
Trigger 'trigger:<trigger_group_name>:<trigger_name>'
3. Triggers
Set
Key: 'triggers'
Members
Trigger 'trigger:<trigger_group_name>:<trigger_name>'
3. TriggerGroups
type: Set
Key: 'trigger_groups'
Members
TriggerGroup 'trigger_group:<trigger_group_name>'
4. PausedTriggerGroups
type: Set
Key: 'paused_trigger_groups'
Members
TriggerGroup 'trigger_group:<trigger_group_name>'
TRIGGER STATES
===============
1. Waiting
type: Zset
Key: 'waiting_triggers'
Members Score
Trigger 'trigger:<trigger_group_name>:<trigger_name>' trigger's next fire time timestamp
2. Paused
type: Zset
Key: 'paused_triggers'
Members Score
Trigger 'trigger:<trigger_group_name>:<trigger_name>' trigger's next fire time timestamp
3. Blocked
type: Zset
Key: 'blocked_triggers'
Members Score
Trigger 'trigger:<trigger_group_name>:<trigger_name>' trigger's next fire time timestamp
4. Acquired
type: Zset
Key: 'acquired_triggers'
Members Score
Trigger 'trigger:<trigger_group_name>:<trigger_name>' trigger's next fire time timestamp
5. Error
type: Zset
Key: 'error_triggers'
Members Score
Trigger 'trigger:<trigger_group_name>:<trigger_name>' trigger's next fire time timestamp
6. Completed
type: Zset
Key: 'completed_triggers'
Members Score
Trigger 'trigger:<trigger_group_name>:<trigger_name>' trigger's next fire time timestamp
CALENDARS
==========
1. Calendar
type: Hash
key: 'calendar:<calendar_name>'
Field Value
calendar_class the calendar's class
calendar_serialized json serialized calendar
2. Calendars
type: Set
Key: 'calendars'
Members
Calendar 'calendar:<calendar_name>'
3. CalendarTriggers
type: Set
Key: 'calendar_triggers:<calendar_name>'
Members
Trigger 'trigger:<trigger_group_name>:<trigger_name>'