Skip navigation links

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

E47890-01


com.tangosol.net
Class AbstractBackingMapManager

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.AbstractBackingMapManager

All Implemented Interfaces:
BackingMapManager
Direct Known Subclasses:
DefaultConfigurableCacheFactory.Manager, DefaultConfigurableCacheFactory.PartitionedBackingMapManager, ExtensibleConfigurableCacheFactory.Manager, ExtensibleConfigurableCacheFactory.PartitionedBackingMapManager

public abstract class AbstractBackingMapManager
extends Base
implements BackingMapManager

Abstract base of the BackingMapManager implementations.

Since:
Coherence 2.0
Author:
gg 2002.09.21

Constructor Summary
protected AbstractBackingMapManager()
          Default constructor.

 

Method Summary
 BackingMapManagerContext getContext()
          Determine the current BackingMapManagerContext for this BackingMapManager.
 void init(BackingMapManagerContext context)
          Called by a CacheService to indicate to this manager that the manager is being associated with the CacheService.
 void releaseBackingMap(java.lang.String sName, java.util.Map map)
          Release the specified Map that was created using the BackingMapManager.instantiateBackingMap(String) method.

 

Methods inherited from interface com.tangosol.net.BackingMapManager
getCacheFactory, instantiateBackingMap, isBackingMapPersistent

 

Constructor Detail

AbstractBackingMapManager

protected AbstractBackingMapManager()
Default constructor.

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.

Specified by:
init in interface BackingMapManager
Parameters:
context - the BackingMapManagerContext object for this BackingMapManager

getContext

public BackingMapManagerContext getContext()
Determine the current BackingMapManagerContext for this BackingMapManager.
Specified by:
getContext in interface BackingMapManager
Returns:
the current context

releaseBackingMap

public void releaseBackingMap(java.lang.String sName,
                              java.util.Map map)
Release the specified Map that was created using the BackingMapManager.instantiateBackingMap(String) method. This method is invoked by the CacheService when the CacheService no longer requires the specified Map object.
Specified by:
releaseBackingMap in interface BackingMapManager
Parameters:
sName - the name of the NamedCache for which the specified Map object has acted as the backing map
map - the Map object that is being released

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.