File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
common/src/main/java/com/netflix/conductor/common/metadata/workflow Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,12 @@ public void setTasks(List<WorkflowTask> tasks) {
151151 @ ProtoField (id = 29 )
152152 private String joinStatus ;
153153
154+ @ ProtoField (id = 30 )
155+ private Map <String , Object > cacheKey = new HashMap <>();
156+
157+ @ ProtoField (id = 31 )
158+ private long cacheTTL ;
159+
154160 /*
155161 Map of events to be emitted when the task status changed.
156162 key can be comma separated values of the status changes prefixed with "on"<STATUS>
@@ -392,6 +398,22 @@ public void setScriptExpression(String expression) {
392398 this .scriptExpression = expression ;
393399 }
394400
401+ public Map <String , Object > getCacheKey () {
402+ return cacheKey ;
403+ }
404+
405+ public void setCacheKey (Map <String , Object > cacheKey ) {
406+ this .cacheKey = cacheKey ;
407+ }
408+
409+ public long getCacheTTL () {
410+ return cacheTTL ;
411+ }
412+
413+ public void setCacheTTL (long cacheTTL ) {
414+ this .cacheTTL = cacheTTL ;
415+ }
416+
395417 /**
396418 * @return the subWorkflow
397419 */
You can’t perform that action at this time.
0 commit comments