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.intReturns 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:EventReturns the event source.- Specified by:
getSourcein interfaceEvent<S extends JWKSetSource<C>,C extends SecurityContext> - Returns:
- The event source.
-
getContext
Description copied from interface:EventReturns the optional context.- Specified by:
getContextin interfaceEvent<S extends JWKSetSource<C>,C extends SecurityContext> - Returns:
- The optional context,
nullif not specified.
-