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.ClusterCriticalSection
Critical section logic for the cluster.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doClusterCriticalSection(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 theJwtAuthorityRepository
to provide context for the cluster locking. ThisJwtAuthorityRepository
will be used for the critical section logic.- Throws:
java.lang.Exception
- Possible failure from critical section.
-
-