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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CgetContext()Returns the optional context.ExceptiongetException()Returns the exception that caused the retrial.longgetRemainingTime()Returns the remaining time until the outage cache expires.SgetSource()Returns the event source.
-
-
-
Method Detail
-
getException
public Exception getException()
Returns the exception that caused the retrial.- Returns:
- The exception.
-
getRemainingTime
public long getRemainingTime()
Returns the remaining time until the outage cache expires.- Returns:
- The remaining time, in milliseconds.
-
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.
-
-