Class JdbcSearchableJobInstanceDao

java.lang.Object
org.springframework.batch.core.repository.dao.AbstractJdbcBatchMetadataDao
org.springframework.batch.core.repository.dao.JdbcJobInstanceDao
org.springframework.cloud.dataflow.server.batch.JdbcSearchableJobInstanceDao
All Implemented Interfaces:
org.springframework.batch.core.repository.dao.JobInstanceDao, InitializingBean, SearchableJobInstanceDao

public class JdbcSearchableJobInstanceDao extends org.springframework.batch.core.repository.dao.JdbcJobInstanceDao implements SearchableJobInstanceDao
Author:
Dave Syer
  • Field Summary

    Fields inherited from class org.springframework.batch.core.repository.dao.AbstractJdbcBatchMetadataDao

    DEFAULT_EXIT_MESSAGE_LENGTH, DEFAULT_SHORT_CONTEXT_LENGTH, DEFAULT_TABLE_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     

    Methods inherited from class org.springframework.batch.core.repository.dao.JdbcJobInstanceDao

    createJobInstance, deleteJobInstance, findJobInstancesByName, getJobInstance, getJobInstance, getJobInstance, getJobInstanceCount, getJobInstances, getJobNames, getLastJobInstance, setJobIncrementer, setJobInstanceIncrementer, setJobKeyGenerator

    Methods inherited from class org.springframework.batch.core.repository.dao.AbstractJdbcBatchMetadataDao

    getClobTypeToUse, getJdbcTemplate, getQuery, getTablePrefix, setClobTypeToUse, setJdbcTemplate, setTablePrefix

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.batch.core.repository.dao.JobInstanceDao

    createJobInstance, deleteJobInstance, findJobInstancesByName, getJobInstance, getJobInstance, getJobInstance, getJobInstanceCount, getJobInstances, getJobNames, getLastJobInstance
  • Constructor Details

    • JdbcSearchableJobInstanceDao

      public JdbcSearchableJobInstanceDao()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface InitializingBean
      Overrides:
      afterPropertiesSet in class org.springframework.batch.core.repository.dao.JdbcJobInstanceDao
      Throws:
      Exception
      See Also:
      • JdbcJobExecutionDao.afterPropertiesSet()
    • countJobInstances

      public int countJobInstances(String name)
      Specified by:
      countJobInstances in interface SearchableJobInstanceDao
      Parameters:
      name - the name of the job instances
      Returns:
      the number of instances
      See Also: