Interface JwtAuthorityRepository.ClusterCriticalSection
- Enclosing interface:
- JwtAuthorityRepository
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Critical section logic for the cluster.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoClusterCriticalSection(JwtAuthorityRepository repository) Undertakes the critical section.
-
Method Details
-
doClusterCriticalSection
Undertakes the critical section.- Parameters:
repository- Allows overriding theJwtAuthorityRepositoryto provide context for the cluster locking. ThisJwtAuthorityRepositorywill be used for the critical section logic.- Throws:
Exception- Possible failure from critical section.
-