public List < OperableTrigger > getTriggersForJob ( JobKey jobKey , T jedis ) throws JobPersistenceException { final String jobTriggerSetKey = redisSchema . jobTriggersSetKey ( jobKey ) ; final Set < String > triggerHashKeys = jedis . smembers ( jobTriggerSetKey ) ; List < OperableTrigger > triggers = new ArrayList <> ( ) ; for ( String triggerHashKey : triggerHashKeys ) { triggers . add ( retrieveTrigger ( redisSchema . triggerKey ( triggerHashKey ) , jedis ) ) ; } return triggers ; }
Retrieve triggers associated with the given job