Class BundleManager
- java.lang.Object
-
- com.tangosol.coherence.config.scheme.BundleManager
-
public class BundleManager extends Object
TheBundleManager
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BundleManager.BundleConfig
The BundleConfig class contains the configuration for a Bundle.
-
Constructor Summary
Constructors Constructor Description BundleManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfig(BundleManager.BundleConfig config)
Add the BundleConfig to the list of bundle configurations.void
ensureBundles(ParameterResolver resolver, BundlingNamedCache cache)
Create a BundlingNamedCache using the operation-bundling element.void
ensureBundles(ParameterResolver resolver, ReadWriteBackingMap.StoreWrapper wrapperStore)
Create a BundlingNamedCache using the "operation-bundling" element.protected void
initializeBundler(ParameterResolver resolver, AbstractBundler bundler, BundleManager.BundleConfig config)
Initialize the specified bundler using the BundleConfig.
-
-
-
Method Detail
-
addConfig
@Injectable public void addConfig(BundleManager.BundleConfig config)
Add the BundleConfig to the list of bundle configurations.- Parameters:
config
- the BundleConfig
-
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 ParameterResolvercache
- 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 ParameterResolverwrapperStore
- the ReadWriteBackingMap.StoreWrapper
-
initializeBundler
protected void initializeBundler(ParameterResolver resolver, AbstractBundler bundler, BundleManager.BundleConfig config)
Initialize the specified bundler using the BundleConfig.- Parameters:
resolver
- the ParameterResolverbundler
- the bundlerconfig
- the BundleConfig
-
-