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