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.
@FunctionalInterface public static interface JwtAuthorityRepository.ClusterCriticalSectionCritical section logic for the cluster.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoClusterCriticalSection(JwtAuthorityRepository repository)Undertakes the critical section.
-
-
-
Method Detail
-
doClusterCriticalSection
void doClusterCriticalSection(JwtAuthorityRepository repository) throws java.lang.Exception
Undertakes the critical section.- Parameters:
repository- Allows overriding theJwtAuthorityRepositoryto provide context for the cluster locking. ThisJwtAuthorityRepositorywill be used for the critical section logic.- Throws:
java.lang.Exception- Possible failure from critical section.
-
-