Class DefaultCredentialsRefreshService.FixedDelayBeforeExpirationRefreshDelayStrategy

  • All Implemented Interfaces:
    java.util.function.Function<java.time.Duration,​java.time.Duration>
    Enclosing class:
    DefaultCredentialsRefreshService

    private static class DefaultCredentialsRefreshService.FixedDelayBeforeExpirationRefreshDelayStrategy
    extends java.lang.Object
    implements java.util.function.Function<java.time.Duration,​java.time.Duration>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.time.Duration delay  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Duration apply​(java.time.Duration timeBeforeExpiration)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Field Detail

      • delay

        private final java.time.Duration delay
    • Constructor Detail

      • FixedDelayBeforeExpirationRefreshDelayStrategy

        private FixedDelayBeforeExpirationRefreshDelayStrategy​(java.time.Duration delay)
    • Method Detail

      • apply

        public java.time.Duration apply​(java.time.Duration timeBeforeExpiration)
        Specified by:
        apply in interface java.util.function.Function<java.time.Duration,​java.time.Duration>