Class OutageTolerantJWKSetSource.OutageEvent<C extends SecurityContext>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      C getContext()
      Returns the optional context.
      java.lang.Exception getException()
      Returns the exception that caused the retrial.
      long getRemainingTime()
      Returns the remaining time until the outage cache expires.
      S getSource()
      Returns the event source.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getException

        public java.lang.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: Event
        Returns the event source.
        Specified by:
        getSource in interface Event<S extends JWKSetSource<C>,​C extends SecurityContext>
        Returns:
        The event source.
      • getContext

        public C getContext()
        Description copied from interface: Event
        Returns the optional context.
        Specified by:
        getContext in interface Event<S extends JWKSetSource<C>,​C extends SecurityContext>
        Returns:
        The optional context, null if not specified.