Interface ReplicaRegistryRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ReplicaRegistry,,Long> org.springframework.data.jpa.repository.JpaRepository<ReplicaRegistry,,Long> org.springframework.data.repository.ListCrudRepository<ReplicaRegistry,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<ReplicaRegistry,,Long> org.springframework.data.repository.PagingAndSortingRepository<ReplicaRegistry,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ReplicaRegistry>,org.springframework.data.repository.Repository<ReplicaRegistry,Long>
public interface ReplicaRegistryRepository
extends org.springframework.data.jpa.repository.JpaRepository<ReplicaRegistry,Long>
A ReplicaRegistryRepository.
- Author:
- Heiko Scherrer
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByApplicationName
-
findActiveOnes
@Query("select rr from ReplicaRegistry rr where rr.state = \'REGISTERED\' order by rr.registeredAt,rr.lastModifiedDt") List<ReplicaRegistry> findActiveOnes()
-