public class SchedulerClusteredJobDao extends ConfluenceHibernateObjectDao<SchedulerClusteredJob> implements com.atlassian.scheduler.caesium.spi.ClusteredJobDao
HibernateObjectDao.CacheabilitycacheFactory, confluenceUserDaoNON_CACHEABLE| Constructor and Description |
|---|
SchedulerClusteredJobDao() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
create(com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob) |
boolean |
delete(com.atlassian.scheduler.config.JobId jobId) |
com.atlassian.scheduler.caesium.spi.ClusteredJob |
find(com.atlassian.scheduler.config.JobId jobId) |
Set<com.atlassian.scheduler.config.JobRunnerKey> |
findAllJobRunnerKeys() |
Collection<com.atlassian.scheduler.caesium.spi.ClusteredJob> |
findByJobRunnerKey(com.atlassian.scheduler.config.JobRunnerKey jobRunnerKey) |
Date |
getNextRunTime(com.atlassian.scheduler.config.JobId jobId) |
Class<SchedulerClusteredJob> |
getPersistentClass()
Gets the type of
EntityObject this Dao works with. |
Long |
getVersion(com.atlassian.scheduler.config.JobId jobId) |
Map<com.atlassian.scheduler.config.JobId,Date> |
refresh() |
boolean |
updateNextRunTime(com.atlassian.scheduler.config.JobId jobId,
Date nextRunTime,
long expectedVersion) |
findAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, saveEntity, setCacheFactory, setConfluenceUserDao, updateEntityModificationData, updateModificationDataapplyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, 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, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntitypublic Class<SchedulerClusteredJob> getPersistentClass()
ObjectDaoInternalEntityObject this Dao works with.getPersistentClass in interface ObjectDaogetPersistentClass in interface ObjectDaoInternal<SchedulerClusteredJob>@Nullable public Date getNextRunTime(com.atlassian.scheduler.config.JobId jobId)
getNextRunTime in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao@Nullable public Long getVersion(com.atlassian.scheduler.config.JobId jobId)
getVersion in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao@Nullable public com.atlassian.scheduler.caesium.spi.ClusteredJob find(com.atlassian.scheduler.config.JobId jobId)
find in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao@Nonnull public Collection<com.atlassian.scheduler.caesium.spi.ClusteredJob> findByJobRunnerKey(com.atlassian.scheduler.config.JobRunnerKey jobRunnerKey)
findByJobRunnerKey in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao@Nonnull public Map<com.atlassian.scheduler.config.JobId,Date> refresh()
refresh in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao@Nonnull public Set<com.atlassian.scheduler.config.JobRunnerKey> findAllJobRunnerKeys()
findAllJobRunnerKeys in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic boolean create(com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob)
create in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic boolean updateNextRunTime(com.atlassian.scheduler.config.JobId jobId,
@Nullable
Date nextRunTime,
long expectedVersion)
updateNextRunTime in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic boolean delete(com.atlassian.scheduler.config.JobId jobId)
delete in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaoCopyright © 2003–2019 Atlassian. All rights reserved.