src/main/java/com/redislabs/quartz/RedisJobStore.java
/**
	 * Pause triggers.
	 *
	 * @param triggerGroupHashKey the trigger group hash key
	 * @param jedis thread-safe redis connection
	 * @throws JobPersistenceException
	 */
Pause triggers.
@param triggerGroupHashKey the trigger group hash key
@param jedis thread-safe redis connection
@throws JobPersistenceException
Pause triggers . @param triggerGroupHashKey the trigger group hash key @param jedis thread - safe redis connection @throws JobPersistenceException
private boolean pauseTriggers(String triggerGroupHashKey, Jedis jedis) throws JobPersistenceException {
		if (jedis.sadd(PAUSED_TRIGGER_GROUPS_SET, triggerGroupHashKey) > 0) { 
			Set<String> triggers = jedis.smembers(triggerGroupHashKey);
			for(String trigger : triggers)
				pauseTrigger(new TriggerKey(trigger.split(":")[2], trigger.split(":")[1]), jedis);
			return true;
		}
		return false;
	}
private boolean pauseTriggers ( String triggerGroupHashKey , Jedis jedis ) throws JobPersistenceException { if ( jedis . sadd ( PAUSED_TRIGGER_GROUPS_SET , triggerGroupHashKey ) > 0 ) { Set < String > triggers = jedis . smembers ( triggerGroupHashKey ) ; for ( String trigger : triggers ) pauseTrigger ( new TriggerKey ( trigger . split ( ":" ) [ 2 ] , trigger . split ( ":" ) [ 1 ] ) , jedis ) ; return true ; } return false ; }
Pause triggers.
Pause triggers .