类 AbstractCachingConfiguration.CachingConfigurerSupplier

java.lang.Object
cn.taketoday.cache.annotation.AbstractCachingConfiguration.CachingConfigurerSupplier
封闭类:
AbstractCachingConfiguration

protected static class AbstractCachingConfiguration.CachingConfigurerSupplier extends Object
  • 构造器详细资料

  • 方法详细资料

    • adapt

      @Nullable public <T> Supplier<T> adapt(Function<CachingConfigurer,T> provider)
      Adapt the CachingConfigurer supplier to another supplier provided by the specified mapping function. If the underlying CachingConfigurer is null, null is returned and the mapping function is not invoked.
      类型参数:
      T - the type of the supplier
      参数:
      provider - the provider to use to adapt the supplier
      返回:
      another supplier mapped by the specified function