Class InternalCache2kBuilder<K,​V>

    • Constructor Detail

      • InternalCache2kBuilder

        public InternalCache2kBuilder​(org.cache2k.config.Cache2kConfig<K,​V> config,
                                      org.cache2k.CacheManager manager)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.cache2k.config.CacheBuildContext<K,​V>
      • createCustomization

        public <T> T createCustomization​(org.cache2k.config.CustomizationSupplier<T> supplier)
        Description copied from interface: InternalCacheBuildContext
        Create the customization. Returns null if supplier is null.
        Specified by:
        createCustomization in interface org.cache2k.config.CacheBuildContext<K,​V>
        Specified by:
        createCustomization in interface InternalCacheBuildContext<K,​V>
      • build

        public org.cache2k.Cache<K,​V> build()
      • buildWithoutExternalConfig

        public org.cache2k.Cache<K,​V> buildWithoutExternalConfig()
        Build without applying external configuration. Needed for JCache.