Class CachedSecretFactory.CachedSecret<T>

java.lang.Object
io.datarouter.util.cached.BaseCached<T>
io.datarouter.util.cached.Cached<T>
io.datarouter.secret.service.CachedSecretFactory.CachedSecret<T>
All Implemented Interfaces:
java.util.function.Supplier<T>
Enclosing class:
CachedSecretFactory

public final class CachedSecretFactory.CachedSecret<T>
extends io.datarouter.util.cached.Cached<T>
  • Field Summary

    Fields inherited from class io.datarouter.util.cached.Cached

    cacheForMs

    Fields inherited from class io.datarouter.util.cached.BaseCached

    cachedAtMs, value
  • Method Summary

    Modifier and Type Method Description
    protected T reload()  
    java.lang.String toString()  

    Methods inherited from class io.datarouter.util.cached.Cached

    expire, isExpired

    Methods inherited from class io.datarouter.util.cached.BaseCached

    get, updateIfExpired

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • reload

      protected T reload()
      Specified by:
      reload in class io.datarouter.util.cached.BaseCached<T>
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object