@Named public class DelegatedDirectoryPruningJob extends Object implements com.atlassian.scheduler.JobRunner
Modifier and Type | Field and Description |
---|---|
static com.atlassian.scheduler.config.JobRunnerKey |
PRUNING_JOBRUNNER_KEY |
Constructor and Description |
---|
DelegatedDirectoryPruningJob(com.atlassian.scheduler.SchedulerService schedulerService,
DirectoryManager directoryManager,
DirectoryInstanceLoader directoryInstanceLoader,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
com.atlassian.beehive.ClusterLockService clusterLockService,
com.atlassian.event.api.EventPublisher eventPublisher,
PruningJobStatusService pruningJobStatusService) |
Modifier and Type | Method and Description |
---|---|
void |
onDestroy() |
void |
registerPruningJob() |
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
public static final com.atlassian.scheduler.config.JobRunnerKey PRUNING_JOBRUNNER_KEY
@Inject public DelegatedDirectoryPruningJob(com.atlassian.scheduler.SchedulerService schedulerService, DirectoryManager directoryManager, DirectoryInstanceLoader directoryInstanceLoader, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.beehive.ClusterLockService clusterLockService, com.atlassian.event.api.EventPublisher eventPublisher, PruningJobStatusService pruningJobStatusService)
@PostConstruct public void registerPruningJob() throws com.atlassian.scheduler.SchedulerServiceException
com.atlassian.scheduler.SchedulerServiceException
@PreDestroy public void onDestroy()
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
runJob
in interface com.atlassian.scheduler.JobRunner
Copyright © 2021 Atlassian. All rights reserved.