Class SchedulerClusteredJobDao
- java.lang.Object
- 
- org.springframework.dao.support.DaoSupport
- 
- com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao<T>
- 
- com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao<T>
- 
- com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao<SchedulerClusteredJob>
- 
- com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJobDao
 
 
 
 
 
- 
- All Implemented Interfaces:
- ObjectDao,- VersionedObjectDao<SchedulerClusteredJob>,- ObjectDaoInternal<SchedulerClusteredJob>,- VersionedObjectDaoInternal<SchedulerClusteredJob>,- com.atlassian.scheduler.caesium.spi.ClusteredJobDao,- org.springframework.beans.factory.InitializingBean
 
 @Transactional(propagation=REQUIRES_NEW) public class SchedulerClusteredJobDao extends ConfluenceHibernateObjectDao<SchedulerClusteredJob> implements com.atlassian.scheduler.caesium.spi.ClusteredJobDao - Since:
- 5.10
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDaoHibernateObjectDao.Cacheability
 
- 
 - 
Field Summary- 
Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDaocacheFactory, confluenceUserDao
 
- 
 - 
Constructor SummaryConstructors Constructor Description SchedulerClusteredJobDao()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreate(@NonNull com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob)booleandelete(@NonNull com.atlassian.scheduler.config.JobId jobId)@Nullable com.atlassian.scheduler.caesium.spi.ClusteredJobfind(@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 DategetNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId)Class<SchedulerClusteredJob>getPersistentClass()Gets the type ofEntityObjectthis Dao works with.@Nullable LonggetVersion(@NonNull com.atlassian.scheduler.config.JobId jobId)@NonNull Map<com.atlassian.scheduler.config.JobId,Date>refresh()booleanupdateNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId, @Nullable Date nextRunTime, long expectedVersion)- 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDaofindAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, saveEntity, setCacheFactory, setConfluenceUserDao, updateEntityModificationData, updateModificationData
 - 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDaoapplyTransactionTimeout, 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, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setEventPublisher, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.atlassian.confluence.internal.persistence.ObjectDaoInternalfindAll, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
 
- 
 
- 
- 
- 
Method Detail- 
getPersistentClasspublic Class<SchedulerClusteredJob> getPersistentClass() Description copied from interface:ObjectDaoInternalGets the type ofEntityObjectthis Dao works with.- Specified by:
- getPersistentClassin interface- ObjectDao
- Specified by:
- getPersistentClassin interface- ObjectDaoInternal<SchedulerClusteredJob>
- Returns:
- the type
 
 - 
getNextRunTimepublic @Nullable Date getNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId) - Specified by:
- getNextRunTimein interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 - 
getVersionpublic @Nullable Long getVersion(@NonNull com.atlassian.scheduler.config.JobId jobId) - Specified by:
- getVersionin interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 - 
findpublic @Nullable com.atlassian.scheduler.caesium.spi.ClusteredJob find(@NonNull com.atlassian.scheduler.config.JobId jobId) - Specified by:
- findin interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 - 
findByJobRunnerKeypublic @NonNull Collection<com.atlassian.scheduler.caesium.spi.ClusteredJob> findByJobRunnerKey(@NonNull com.atlassian.scheduler.config.JobRunnerKey jobRunnerKey) - Specified by:
- findByJobRunnerKeyin interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 - 
refreshpublic @NonNull Map<com.atlassian.scheduler.config.JobId,Date> refresh() - Specified by:
- refreshin interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 - 
findAllJobRunnerKeyspublic @NonNull Set<com.atlassian.scheduler.config.JobRunnerKey> findAllJobRunnerKeys() - Specified by:
- findAllJobRunnerKeysin interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 - 
createpublic boolean create(@NonNull com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob) - Specified by:
- createin interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 - 
updateNextRunTimepublic boolean updateNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId, @Nullable Date nextRunTime, long expectedVersion)- Specified by:
- updateNextRunTimein interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 - 
deletepublic boolean delete(@NonNull com.atlassian.scheduler.config.JobId jobId) - Specified by:
- deletein interface- com.atlassian.scheduler.caesium.spi.ClusteredJobDao
 
 
- 
 
-