public abstract class AbstractNonConcurrentJobRunner extends Object implements com.atlassian.scheduler.JobRunner
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.beehive.ClusterLockService |
lockService |
protected org.apache.log4j.Logger |
log |
Constructor and Description |
---|
AbstractNonConcurrentJobRunner(com.atlassian.beehive.ClusterLockService lockService) |
Modifier and Type | Method and Description |
---|---|
protected abstract com.atlassian.scheduler.JobRunnerResponse |
doRunJob(com.atlassian.scheduler.JobRunnerRequest request,
boolean reportErrors) |
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
protected final org.apache.log4j.Logger log
protected final com.atlassian.beehive.ClusterLockService lockService
public AbstractNonConcurrentJobRunner(com.atlassian.beehive.ClusterLockService lockService)
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(@Nullable com.atlassian.scheduler.JobRunnerRequest request)
runJob
in interface com.atlassian.scheduler.JobRunner
protected abstract com.atlassian.scheduler.JobRunnerResponse doRunJob(@Nullable com.atlassian.scheduler.JobRunnerRequest request, boolean reportErrors)
Copyright © 2020 Play SQL. All rights reserved.