Interface HistoryJobQuery

    • Method Detail

      • handlerType

        HistoryJobQuery handlerType​(String handlerType)
        Select jobs which have given job handler type
      • withException

        HistoryJobQuery withException()
        Only select jobs that failed due to an exception.
      • exceptionMessage

        HistoryJobQuery exceptionMessage​(String exceptionMessage)
        Only select jobs that failed due to an exception with the given message.
      • withoutScopeType

        HistoryJobQuery withoutScopeType()
        Only return jobs that do not have a scope type.
      • jobTenantId

        HistoryJobQuery jobTenantId​(String tenantId)
        Only select jobs that have the given tenant id.
      • jobTenantIdLike

        HistoryJobQuery jobTenantIdLike​(String tenantIdLike)
        Only select jobs with a tenant id like the given one.
      • jobWithoutTenantId

        HistoryJobQuery jobWithoutTenantId()
        Only select jobs that do not have a tenant id.
      • locked

        HistoryJobQuery locked()
        Only return jobs that are locked (i.e. they are acquired by an executor).
      • unlocked

        HistoryJobQuery unlocked()
        Only return jobs that are not locked.
      • orderByJobId

        HistoryJobQuery orderByJobId()
        Order by job id (needs to be followed by Query.asc() or Query.desc()).
      • orderByJobRetries

        HistoryJobQuery orderByJobRetries()
        Order by retries (needs to be followed by Query.asc() or Query.desc()).
      • orderByTenantId

        HistoryJobQuery orderByTenantId()
        Order by tenant id (needs to be followed by Query.asc() or Query.desc()).