public class BundleManager extends Object
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.Modifier and Type | Class | Description |
---|---|---|
static class |
BundleManager.BundleConfig |
The BundleConfig class contains the configuration for a Bundle.
|
Constructor | Description |
---|---|
BundleManager() |
Modifier and Type | Method | Description |
---|---|---|
void |
addConfig(BundleManager.BundleConfig config) |
Add the BundleConfig to the list of bundle configurations.
|
void |
ensureBundles(com.tangosol.config.expression.ParameterResolver resolver,
BundlingNamedCache cache) |
Create a BundlingNamedCache using the operation-bundling element.
|
void |
ensureBundles(com.tangosol.config.expression.ParameterResolver resolver,
ReadWriteBackingMap.StoreWrapper wrapperStore) |
Create a BundlingNamedCache using the "operation-bundling" element.
|
protected void |
initializeBundler(com.tangosol.config.expression.ParameterResolver resolver,
AbstractBundler bundler,
BundleManager.BundleConfig config) |
Initialize the specified bundler using the BundleConfig.
|
@Injectable public void addConfig(BundleManager.BundleConfig config)
config
- the BundleConfigpublic void ensureBundles(com.tangosol.config.expression.ParameterResolver resolver, BundlingNamedCache cache)
resolver
- the ParameterResolvercache
- the BundlingNamedCachepublic void ensureBundles(com.tangosol.config.expression.ParameterResolver resolver, ReadWriteBackingMap.StoreWrapper wrapperStore)
resolver
- the ParameterResolverwrapperStore
- the ReadWriteBackingMap.StoreWrapperprotected void initializeBundler(com.tangosol.config.expression.ParameterResolver resolver, AbstractBundler bundler, BundleManager.BundleConfig config)
resolver
- the ParameterResolverbundler
- the bundlerconfig
- the BundleConfig