Interface JpaRefreshTokenRepository2<D extends JpaRefreshToken2>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,
,String> RefreshTokenRepository<D>
,org.springframework.data.repository.Repository<D,
String>
@Repository
public interface JpaRefreshTokenRepository2<D extends JpaRefreshToken2>
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 JpaRefreshToken2>
- Returns:
- Shard parition identifier
-
entityType
Return the shard-specific type managed by this repository- Specified by:
entityType
in interfaceRefreshTokenRepository<D extends JpaRefreshToken2>
- Returns:
- The shard-specific type managed by this repository
-