Package com.bytedesk.core.uid
Interface UidGereratorRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<UidGeneratorEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<UidGeneratorEntity,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<UidGeneratorEntity>
,org.springframework.data.repository.ListCrudRepository<UidGeneratorEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<UidGeneratorEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<UidGeneratorEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<UidGeneratorEntity>
,org.springframework.data.repository.Repository<UidGeneratorEntity,
Long>
@Repository
public interface UidGereratorRepository
extends org.springframework.data.jpa.repository.JpaRepository<UidGeneratorEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<UidGeneratorEntity>
DAO for M_WORKER_NODE
- Author:
- yutianbao, wujun
-
Method Summary
Modifier and TypeMethodDescriptionfindByHostAndPort
(String host, String port) GetUidGeneratorEntity
by node hostMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findBy, findOne
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByHostAndPort
GetUidGeneratorEntity
by node host- Parameters:
host
-port
-- Returns:
-