src/main/java/com/redislabs/quartz/RedisJobStore.java
/**
	 * Pause job.
	 *
	 * @param jobKey the job key
	 * @param jedis thread-safe redis connection
	 * @throws JobPersistenceException
	 */
Pause job.
@param jobKey the job key
@param jedis thread-safe redis connection
@throws JobPersistenceException
Pause job . @param jobKey the job key @param jedis thread - safe redis connection @throws JobPersistenceException
private void pauseJob(String jobHashKey, Jedis jedis) throws JobPersistenceException {
		if (!jedis.sismember(JOBS_SET, jobHashKey))
			throw new JobPersistenceException("job: " + jobHashKey + " des not exist");
		String jobTriggerSetkey = createJobTriggersSetKey(jobHashKey.split(":")[1], jobHashKey.split(":")[2]);
		List<OperableTrigger> triggers = getTriggersForJob(jobTriggerSetkey, jedis);
		for (OperableTrigger trigger : triggers)
			pauseTrigger(trigger.getKey(), jedis);
	}
private void pauseJob ( String jobHashKey , Jedis jedis ) throws JobPersistenceException { if ( ! jedis . sismember ( JOBS_SET , jobHashKey ) ) throw new JobPersistenceException ( "job: " + jobHashKey + " des not exist" ) ; String jobTriggerSetkey = createJobTriggersSetKey ( jobHashKey . split ( ":" ) [ 1 ] , jobHashKey . split ( ":" ) [ 2 ] ) ; List < OperableTrigger > triggers = getTriggersForJob ( jobTriggerSetkey , jedis ) ; for ( OperableTrigger trigger : triggers ) pauseTrigger ( trigger . getKey ( ) , jedis ) ; }
Pause job.
Pause job .