code: @Override
      public Trigger.TriggerState getTriggerState(final TriggerKey triggerKey) throws JobPersistenceException {
          return doWithLock(new LockCallback<Trigger.TriggerState>() {
              @Override
              public Trigger.TriggerState doWithLock(JedisCommands jedis) throws JobPersistenceException {
                  return storage.getTriggerState(triggerKey, jedis);
              }
          }, "Could not retrieve trigger state.");
      }
docs: Get the current state of the identified <code>{@link org.quartz.Trigger}</code>.
  
  @param triggerKey the key of the trigger for which to retrieve state
  @see org.quartz.Trigger.TriggerState