Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.coherence.config.scheme
Class BundleManager

java.lang.Object
  extended by com.tangosol.coherence.config.scheme.BundleManager


public class BundleManager
extends java.lang.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

Nested Class Summary
static class BundleManager.BundleConfig
          The BundleConfig class contains the configuration for a Bundle.

 

Constructor Summary
BundleManager()
           

 

Method Summary
 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.

 

Constructor Detail

BundleManager

public BundleManager()

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(com.tangosol.config.expression.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(com.tangosol.config.expression.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(com.tangosol.config.expression.ParameterResolver resolver,
                                 AbstractBundler bundler,
                                 BundleManager.BundleConfig config)
Initialize the specified bundler using the BundleConfig.
Parameters:
resolver - the ParameterResolver
bundler - the bundler
config - the BundleConfig

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.