src/main/java/com/redislabs/quartz/RedisJobStore.java
/**
	 * Resume triggers in redis.
	 *
	 * @param triggerGroupHashKey the trigger group hash key
	 * @param jedis thread-safe redis connection
	 * @return resumed trigger groups set 
	 * @throws JobPersistenceException the job persistence exception
	 */
Resume triggers in redis.
@param triggerGroupHashKey the trigger group hash key
@param jedis thread-safe redis connection
@return resumed trigger groups set
@throws JobPersistenceException the job persistence exception
Resume triggers in redis . @param triggerGroupHashKey the trigger group hash key @param jedis thread - safe redis connection @return resumed trigger groups set @throws JobPersistenceException the job persistence exception
private Set<String> resumeTriggers(String triggerGroupHashKey, Jedis jedis) throws JobPersistenceException {
      Set<String> resumedTriggerdGroups = new HashSet<>();
		jedis.srem(PAUSED_TRIGGER_GROUPS_SET, triggerGroupHashKey);
		Set<String> triggerHashKeys = jedis.smembers(triggerGroupHashKey);
		for(String triggerHashKey : triggerHashKeys) {
			OperableTrigger trigger = retrieveTrigger(new TriggerKey(triggerHashKey.split(":")[2], triggerHashKey.split(":")[1]), jedis);
			resumeTrigger(trigger, jedis);
			resumedTriggerdGroups.add(trigger.getKey().getGroup());	
		}
		return resumedTriggerdGroups;
	}
private Set < String > resumeTriggers ( String triggerGroupHashKey , Jedis jedis ) throws JobPersistenceException { Set < String > resumedTriggerdGroups = new HashSet < > ( ) ; jedis . srem ( PAUSED_TRIGGER_GROUPS_SET , triggerGroupHashKey ) ; Set < String > triggerHashKeys = jedis . smembers ( triggerGroupHashKey ) ; for ( String triggerHashKey : triggerHashKeys ) { OperableTrigger trigger = retrieveTrigger ( new TriggerKey ( triggerHashKey . split ( ":" ) [ 2 ] , triggerHashKey . split ( ":" ) [ 1 ] ) , jedis ) ; resumeTrigger ( trigger , jedis ) ; resumedTriggerdGroups . add ( trigger . getKey ( ) . getGroup ( ) ) ; } return resumedTriggerdGroups ; }
Resume triggers in redis.
Resume triggers in redis .
// as we currently support only EQUALS matcher's operator, the paused group set will consist of one paused group only.			