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
-
Method Summary
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
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Overrides:
afterPropertiesSet
in classorg.springframework.batch.core.repository.dao.JdbcJobInstanceDao
- Throws:
Exception
- See Also:
-
JdbcJobExecutionDao.afterPropertiesSet()
-
countJobInstances
- Specified by:
countJobInstances
in interfaceSearchableJobInstanceDao
- Parameters:
name
- the name of the job instances- Returns:
- the number of instances
- See Also:
-