|
|
|
@ -2835,12 +2835,10 @@ public abstract class JobStoreSupport implements JobStore, Constants {
|
|
|
|
|
currentLoopCount++; |
|
|
|
|
try { |
|
|
|
|
long misfireTime = getMisfireTime(); |
|
|
|
|
List<TriggerKey> waitingKeys = getDelegate().selectTriggerToAcquire(conn, noLaterThan + timeWindow, misfireTime, maxCount); |
|
|
|
|
List<TriggerKey> appointKeys = getDelegate().selectAppointTriggerToAcquire(conn, noLaterThan + timeWindow, misfireTime, maxCount, this.currentId); |
|
|
|
|
List<TriggerKey> appointKeys = getDelegate().selectAppointOrNonTriggerToAcquire(conn, noLaterThan + timeWindow, misfireTime, maxCount, this.currentId); |
|
|
|
|
List<TriggerKey> allKeys = new ArrayList<TriggerKey>(); |
|
|
|
|
Set<String> keyIds = new HashSet<String>(); |
|
|
|
|
|
|
|
|
|
mergeKeys(allKeys, keyIds, waitingKeys); |
|
|
|
|
mergeKeys(allKeys, keyIds, appointKeys); |
|
|
|
|
|
|
|
|
|
// No trigger is ready to fire yet.
|
|
|
|
@ -4048,5 +4046,3 @@ public abstract class JobStoreSupport implements JobStore, Constants {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// EOF
|
|
|
|
|