Interface AbstractBasicCacheFactoryBean.CacheFactoryInitializer<T>

All Superinterfaces:
Function<T,T>
Enclosing class:
AbstractBasicCacheFactoryBean
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AbstractBasicCacheFactoryBean.CacheFactoryInitializer<T> extends Function<T,T>
Callback interface for initializing a CacheFactory or a ClientCacheFactory instance, which is used to create an instance of GemFireCache.
See Also:
  • ClientCacheFactory
  • CacheFactory
  • Function
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    apply(T t)
    initialize(T cacheFactory)
    Initialize the given cache factory.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      default T apply(T t)
      Specified by:
      apply in interface Function<T,T>
      Parameters:
      t - cache factory to initialize.
      Returns:
      the initialized cache factory.
      See Also:
    • initialize

      T initialize(T cacheFactory)
      Initialize the given cache factory.
      Parameters:
      cacheFactory - cache factory to initialize.
      Returns:
      the given cache factory.
      See Also:
      • ClientCacheFactory
      • CacheFactory