Class BundleManager


  • public class BundleManager
    extends Object
    The BundleManager class is responsible for configuring caches to use bundling. This class maintains a list of builders, where each builder contains configuration for a single bundle. The builders are called to instantiate and configure the bundling within the cache.
    Since:
    Coherence 12.1.2
    Author:
    pfm 2011.11.30
    • Constructor Detail

      • BundleManager

        public BundleManager()
    • Method Detail

      • ensureBundles

        public void ensureBundles​(ParameterResolver resolver,
                                  BundlingNamedCache cache)
        Create a BundlingNamedCache using the operation-bundling element. A bundler is created and maintained internally by the cache.
        Parameters:
        resolver - the ParameterResolver
        cache - the BundlingNamedCache
      • ensureBundles

        public void ensureBundles​(ParameterResolver resolver,
                                  ReadWriteBackingMap.StoreWrapper wrapperStore)
        Create a BundlingNamedCache using the "operation-bundling" element. A bundler is created and maintained internally by the cache.
        Parameters:
        resolver - the ParameterResolver
        wrapperStore - the ReadWriteBackingMap.StoreWrapper
      • initializeBundler

        protected void initializeBundler​(ParameterResolver resolver,
                                         AbstractBundler bundler,
                                         BundleManager.BundleConfig config)
        Initialize the specified bundler using the BundleConfig.
        Parameters:
        resolver - the ParameterResolver
        bundler - the bundler
        config - the BundleConfig