public class SchedulerClusteredJobDao extends ConfluenceHibernateObjectDao<SchedulerClusteredJob> implements com.atlassian.scheduler.caesium.spi.ClusteredJobDao
HibernateObjectDao.CacheabilitycacheFactory, 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, updateModificationDataapplyTransactionTimeout, 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, setEventPublisher, 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>public @Nullable Date getNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId)
getNextRunTime in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic @Nullable Long getVersion(@NonNull com.atlassian.scheduler.config.JobId jobId)
getVersion in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic @Nullable com.atlassian.scheduler.caesium.spi.ClusteredJob find(@NonNull com.atlassian.scheduler.config.JobId jobId)
find in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic @NonNull Collection<com.atlassian.scheduler.caesium.spi.ClusteredJob> findByJobRunnerKey(@NonNull com.atlassian.scheduler.config.JobRunnerKey jobRunnerKey)
findByJobRunnerKey in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic @NonNull Map<com.atlassian.scheduler.config.JobId,Date> refresh()
refresh in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic @NonNull Set<com.atlassian.scheduler.config.JobRunnerKey> findAllJobRunnerKeys()
findAllJobRunnerKeys in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic boolean create(@NonNull com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob)
create in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic boolean updateNextRunTime(@NonNull com.atlassian.scheduler.config.JobId jobId,
@Nullable Date nextRunTime,
long expectedVersion)
updateNextRunTime in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaopublic boolean delete(@NonNull com.atlassian.scheduler.config.JobId jobId)
delete in interface com.atlassian.scheduler.caesium.spi.ClusteredJobDaoCopyright © 2003–2022 Atlassian. All rights reserved.