Interface JobState
- All Known Subinterfaces:
MutableJobState
- All Known Implementing Classes:
DbJobState
public interface JobState
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists(long jobKey) longfindBackedOffJobs(long timestamp, BiPredicate<Long, JobRecord> callback) voidforEachActivatableJobs(org.agrona.DirectBuffer type, List<String> tenantIds, BiFunction<Long, JobRecord, Boolean> callback) voidforEachTimedOutEntry(long upperBound, BiPredicate<Long, JobRecord> callback) getJob(long key) getState(long key) booleanisInState(long key, JobState.State state) booleanjobDeadlineExists(long jobKey, long deadline)
-
Method Details
-
forEachTimedOutEntry
-
exists
boolean exists(long jobKey) -
getState
-
isInState
-
forEachActivatableJobs
-
getJob
-
getJob
-
jobDeadlineExists
boolean jobDeadlineExists(long jobKey, long deadline) -
findBackedOffJobs
-