Package com.nimbusds.jose.jwk.source
Class CachingJWKSetSource.RefreshCompletedEvent<C extends SecurityContext>
- java.lang.Object
-
- com.nimbusds.jose.jwk.source.CachingJWKSetSource.RefreshCompletedEvent<C>
-
- All Implemented Interfaces:
Event<CachingJWKSetSource<C>,C>
- Enclosing class:
- CachingJWKSetSource<C extends SecurityContext>
public static class CachingJWKSetSource.RefreshCompletedEvent<C extends SecurityContext> extends Object
JWK set cache refresh completed event.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CgetContext()Returns the optional context.JWKSetgetJWKSet()Returns the refreshed JWK set.SgetSource()Returns the event source.intgetThreadQueueLength()Returns an estimate of the number of queued threads.
-
-
-
Method Detail
-
getThreadQueueLength
public int getThreadQueueLength()
Returns an estimate of the number of queued threads.- Returns:
- An estimate of the number of queued threads.
-
getSource
public S 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
public C 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.
-
-