public class SchedulerClusteredJobDao extends ConfluenceHibernateObjectDao<SchedulerClusteredJob> implements com.atlassian.scheduler.caesium.spi.ClusteredJobDao
HibernateObjectDao.Cacheability
cacheFactory, confluenceUserDao
NON_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, updateModificationData
applyTransactionTimeout, 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, 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>
@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.ClusteredJobDao
public boolean create(com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob)
create
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public boolean updateNextRunTime(com.atlassian.scheduler.config.JobId jobId, @Nullable Date nextRunTime, long expectedVersion)
updateNextRunTime
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
public boolean delete(com.atlassian.scheduler.config.JobId jobId)
delete
in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDao
Copyright © 2003–2018 Atlassian. All rights reserved.