org.springframework.cloud.dataflow.server.batch

## Interface SearchableJobInstanceDao

- All Superinterfaces:
    org.springframework.batch.core.repository.dao.JobInstanceDao
  All Known Implementing Classes:
    JdbcSearchableJobInstanceDao

      public interface SearchableJobInstanceDao
      extends org.springframework.batch.core.repository.dao.JobInstanceDao

  Author:
    Dave Syer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `countJobInstances(String name)`

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

      `createJobInstance, findJobInstancesByName, getJobInstance, getJobInstance, getJobInstance, getJobInstanceCount, getJobInstances, getJobNames, getLastJobInstance`

- - ### Method Detail

    - #### countJobInstances

          int countJobInstances(String name)

      Parameters:
        `name` - the name of the job instances
      Returns:
        the number of instances

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.