Class BundleManager
java.lang.Object
com.tangosol.coherence.config.scheme.BundleManager
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The BundleConfig class contains the configuration for a Bundle. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
BundleManager
public BundleManager()
-
-
Method Details
-
addConfig
Add the BundleConfig to the list of bundle configurations.- Parameters:
config
- the BundleConfig
-
ensureBundles
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
-