Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.coherence.config.scheme
Class TransactionalScheme.Manager

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.AbstractBackingMapManager
          extended by com.tangosol.net.ExtensibleConfigurableCacheFactory.Manager
              extended by com.tangosol.coherence.config.scheme.TransactionalScheme.Manager

All Implemented Interfaces:
BackingMapManager
Enclosing class:
TransactionalScheme

public static class TransactionalScheme.Manager
extends ExtensibleConfigurableCacheFactory.Manager

The Manager class uses builders to create the required backing maps and provides client access to those maps. The transactional manager is needed to bootstrap the transactional framework. It also needs to load high-units into the parameter list.


Constructor Summary
TransactionalScheme.Manager(ExtensibleConfigurableCacheFactory factory)
          Construct a BackingMapManager needed for the transactional scheme.

 

Method Summary
protected  com.tangosol.config.expression.ScopedParameterResolver getResolver(java.lang.String sName)
          Return the ScopedParameterResolver for the given cache.
 void init(BackingMapManagerContext context)
          Called by a CacheService to indicate to this manager that the manager is being associated with the CacheService.

 

Methods inherited from class com.tangosol.net.ExtensibleConfigurableCacheFactory.Manager
findCachingScheme, findDistributedScheme, getBackingMap, getCacheFactory, instantiateBackingMap, instantiateBackupMap, instantiatePartitionedBackingMap, isBackupPartitioned, releaseBackingMap, releaseBackupMap, setBackingMap

 

Methods inherited from class com.tangosol.net.AbstractBackingMapManager
getContext

 

Constructor Detail

TransactionalScheme.Manager

public TransactionalScheme.Manager(ExtensibleConfigurableCacheFactory factory)
Construct a BackingMapManager needed for the transactional scheme.
Parameters:
factory - the ConfigurableCacheFactory associated with this manager

Method Detail

init

public void init(BackingMapManagerContext context)
Called by a CacheService to indicate to this manager that the manager is being associated with the CacheService. This method is called once immediately upon the startup of the CacheService, before any NamedCache objects are created by the CacheService.

Important note: BackingMapManager cannot be associated with more then one instance of a CacheService. However, in a situation when a CacheService automatically restarts, it is possible that this manager instance is re-used by a newly created (restarted) CacheService calling this method once again providing a new context.

Important note: BackingMapManager cannot be associated with more than one instance of a CacheService. However, in a situation when a CacheService automatically restarts, it is possible that this manager instance is re-used by a newly created (restarted) CacheService calling this method once again providing a new context.

Specified by:
init in interface BackingMapManager
Overrides:
init in class ExtensibleConfigurableCacheFactory.Manager
Parameters:
context - the BackingMapManagerContext object for this BackingMapManager

getResolver

protected com.tangosol.config.expression.ScopedParameterResolver getResolver(java.lang.String sName)
Return the ScopedParameterResolver for the given cache. A scoped resolver is needed so that a sub-class (like TransactionScheme.Manager) can add a parameter to the resolver.
Overrides:
getResolver in class ExtensibleConfigurableCacheFactory.Manager
Parameters:
sName - the cache name
Returns:
the ScopedParameterResolver

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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