Package com.nimbusds.jose.jwk.source
Class OutageTolerantJWKSetSource.OutageEvent<C extends SecurityContext>
java.lang.Object
com.nimbusds.jose.jwk.source.OutageTolerantJWKSetSource.OutageEvent<C>
- All Implemented Interfaces:
Event<OutageTolerantJWKSetSource<C>,C>
- Enclosing class:
- OutageTolerantJWKSetSource<C extends SecurityContext>
public static class OutageTolerantJWKSetSource.OutageEvent<C extends SecurityContext>
extends Object
JWK set source outage event.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the optional context.Returns the exception that caused the retrial.longReturns the remaining time until the outage cache expires.Returns the event source.
-
Method Details
-
getException
Returns the exception that caused the retrial.- Returns:
- The exception.
-
getRemainingTime
Returns the remaining time until the outage cache expires.- Returns:
- The remaining time, in milliseconds.
-
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.
-