Interface JpaRefreshTokenRepository3<D extends JpaRefreshToken3>
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,String>
,RefreshTokenRepository<D>
,org.springframework.data.repository.Repository<D,String>
@Repository public interface JpaRefreshTokenRepository3<D extends JpaRefreshToken3> extends RefreshTokenRepository<D>
JPA Shard partition repository for recording a refresh token assignment
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Class<?>
entityType()
Return the shard-specific type managed by this repositorydefault int
partition()
Return the shard partition identifier as an integer-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Methods inherited from interface com.broadleafcommerce.auth.token.repository.RefreshTokenRepository
findByAncestor
-
-
-
-
Method Detail
-
partition
default int partition()
Return the shard partition identifier as an integer- Specified by:
partition
in interfaceRefreshTokenRepository<D extends JpaRefreshToken3>
- Returns:
- Shard parition identifier
-
entityType
default Class<?> entityType()
Return the shard-specific type managed by this repository- Specified by:
entityType
in interfaceRefreshTokenRepository<D extends JpaRefreshToken3>
- Returns:
- The shard-specific type managed by this repository
-
-