@ParametersAreNonnullByDefault public class

OfBizClusteredJobDao

extends Object
implements ClusteredJobDao
java.lang.Object
   ↳ com.atlassian.jira.scheduler.OfBizClusteredJobDao

Summary

Public Constructors
OfBizClusteredJobDao(EntityEngine entityEngine)
Public Methods
boolean create(ClusteredJob clusteredJob)
boolean delete(JobId jobId)
@Nullable ClusteredJob find(JobId jobId)
@Nonnull Set<JobRunnerKey> findAllJobRunnerKeys()
@Nonnull Collection<ClusteredJob> findByJobRunnerKey(JobRunnerKey jobRunnerKey)
@Nullable Date getNextRunTime(JobId jobId)
@Nullable Long getVersion(JobId jobId)
@Nonnull Map<JobId, Date> refresh()
boolean updateNextRunTime(JobId jobId, Date date, long version)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao

Public Constructors

public OfBizClusteredJobDao (EntityEngine entityEngine)

Public Methods

public boolean create (ClusteredJob clusteredJob)

public boolean delete (JobId jobId)

@Nullable public ClusteredJob find (JobId jobId)

@Nonnull public Set<JobRunnerKey> findAllJobRunnerKeys ()

@Nonnull public Collection<ClusteredJob> findByJobRunnerKey (JobRunnerKey jobRunnerKey)

@Nullable public Date getNextRunTime (JobId jobId)

@Nullable public Long getVersion (JobId jobId)

@Nonnull public Map<JobId, Date> refresh ()

public boolean updateNextRunTime (JobId jobId, Date date, long version)