Package com.nimbusds.jose.jwk.source
Class CachingJWKSetSource.WaitingForRefreshEvent<C extends SecurityContext>
java.lang.Object
com.nimbusds.jose.jwk.source.CachingJWKSetSource.WaitingForRefreshEvent<C>
- All Implemented Interfaces:
Event<CachingJWKSetSource<C>,
C>
- Enclosing class:
- CachingJWKSetSource<C extends SecurityContext>
public static class CachingJWKSetSource.WaitingForRefreshEvent<C extends SecurityContext>
extends Object
Waiting for a JWK set cache refresh to complete on another thread
event.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the optional context.Returns the event source.int
Returns an estimate of the number of queued threads.
-
Method Details
-
getThreadQueueLength
public int getThreadQueueLength()Returns an estimate of the number of queued threads.- Returns:
- An estimate of the number of queued threads.
-
getSource
Description copied from interface:Event
Returns the event source.- Specified by:
getSource
in interfaceEvent<S extends JWKSetSource<C>,
C extends SecurityContext> - Returns:
- The event source.
-
getContext
Description copied from interface:Event
Returns the optional context.- Specified by:
getContext
in interfaceEvent<S extends JWKSetSource<C>,
C extends SecurityContext> - Returns:
- The optional context,
null
if not specified.
-