code: public boolean replaceTrigger(TriggerKey triggerKey, OperableTrigger newTrigger, T jedis) throws JobPersistenceException, ClassNotFoundException {
          OperableTrigger oldTrigger = retrieveTrigger(triggerKey, jedis);
          boolean found = oldTrigger != null;
          if(found){
              if(!oldTrigger.getJobKey().equals(newTrigger.getJobKey())){
                  throw new JobPersistenceException("New trigger is not related to the same job as the old trigger.");
              }
              removeTrigger(triggerKey, false, jedis);
              storeTrigger(newTrigger, false, jedis);
          }
          return found;
      }
docs: Remove (delete) the <code>{@link org.quartz.Trigger}</code> with the
  given key, and store the new given one - which must be associated
  with the same job.
  @param triggerKey the key of the trigger to be replaced
  @param newTrigger the replacement trigger
  @param jedis a thread-safe Redis connection
  @return true if the target trigger was found, removed, and replaced