public class SchedulerClusteredJobDao extends ConfluenceHibernateObjectDao<SchedulerClusteredJob> implements com.atlassian.scheduler.caesium.spi.ClusteredJobDao
HibernateObjectDao.Cacheability
cacheFactory, confluenceUserDao
Constructor and Description |
---|
SchedulerClusteredJobDao() |
Modifier and Type | Method and Description |
---|---|
boolean |
create(@NonNull com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob) |
boolean |
delete(@NonNull com.atlassian.scheduler.config.JobId jobId) |
@Nullable com.atlassian.scheduler.caesium.spi.ClusteredJob |
find(@NonNull com.atlassian.scheduler.config.JobId jobId) |
@NonNull Set<com.atlassian.scheduler.config.JobRunnerKey> |
findAllJobRunnerKeys() |
@NonNull Collection<com.atlassian.scheduler.caesium.spi.ClusteredJob> |
findByJobRunnerKey(@NonNull com.atlassian.scheduler.config.JobRunnerKey jobRunnerKey) |
@Nullable Date |
getNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId) |
Class<SchedulerClusteredJob> |
getPersistentClass()
Gets the type of
EntityObject this Dao works with. |
@Nullable Long |
getVersion(@NonNull com.atlassian.scheduler.config.JobId jobId) |
@NonNull Map<com.atlassian.scheduler.config.JobId,Date> |
refresh() |
boolean |
updateNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId,
@Nullable Date nextRunTime,
long expectedVersion) |
findAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, saveEntity, setCacheFactory, setConfluenceUserDao, updateEntityModificationData, updateModificationData
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSession, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
public Class<SchedulerClusteredJob> getPersistentClass()
ObjectDaoInternal
EntityObject
this Dao works with.getPersistentClass
in interface ObjectDao
getPersistentClass
in interface ObjectDaoInternal<SchedulerClusteredJob>
public @Nullable Date getNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId)
getNextRunTime
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public @Nullable Long getVersion(@NonNull com.atlassian.scheduler.config.JobId jobId)
getVersion
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public @Nullable com.atlassian.scheduler.caesium.spi.ClusteredJob find(@NonNull com.atlassian.scheduler.config.JobId jobId)
find
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public @NonNull Collection<com.atlassian.scheduler.caesium.spi.ClusteredJob> findByJobRunnerKey(@NonNull com.atlassian.scheduler.config.JobRunnerKey jobRunnerKey)
findByJobRunnerKey
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public @NonNull Map<com.atlassian.scheduler.config.JobId,Date> refresh()
refresh
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public @NonNull Set<com.atlassian.scheduler.config.JobRunnerKey> findAllJobRunnerKeys()
findAllJobRunnerKeys
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public boolean create(@NonNull com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob)
create
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public boolean updateNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId, @Nullable Date nextRunTime, long expectedVersion)
updateNextRunTime
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public boolean delete(@NonNull com.atlassian.scheduler.config.JobId jobId)
delete
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
Copyright © 2003–2020 Atlassian. All rights reserved.