|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.AbstractBackingMapManager
com.tangosol.net.DefaultConfigurableCacheFactory.PartitionedBackingMapManager
protected class DefaultConfigurableCacheFactory.PartitionedBackingMapManager
BackingMapManager implementation used by PartitionAwareBackingMap(s) to lazily configure the enclosing PABM based on the configuration settings of the enclosed maps.
| Field Summary | |
|---|---|
protected BackingMapManagerContext |
m_contextThe BackingMapManagerContext to pass to the enclosed backing maps. |
protected boolean |
m_fConfiguredSpecifies whether or not the enclosing PartitionAwareBackingMap has been configured (initialized). |
protected DefaultConfigurableCacheFactory.CacheInfo |
m_infoThe CacheInfo for the enclosed backing maps. |
protected java.lang.ClassLoader |
m_loaderThe ClassLoader to pass to the enclosed backing maps. |
protected PartitionAwareBackingMap |
m_pabmThe PartitionAwareBackingMap that uses this manager. |
protected XmlElement |
m_xmlSchemeThe xml configuration for the enclosed backing maps. |
| Constructor Summary | |
|---|---|
protected |
DefaultConfigurableCacheFactory.PartitionedBackingMapManager(DefaultConfigurableCacheFactory.CacheInfo info, XmlElement xmlScheme, BackingMapManagerContext context, java.lang.ClassLoader loader) |
| Method Summary | |
|---|---|
java.util.Map |
instantiateBackingMap(java.lang.String sName)Instantiate a [thread safe] Map that should be used by a CacheService to store cached values for a NamedCache with the specified name. |
protected void |
link(PartitionAwareBackingMap pabm)Link this manager to a PartitionAwareBackingMap that uses it. |
void |
releaseBackingMap(java.lang.String sName, java.util.Map map)Release the specified Map that was created using the AbstractBackingMapManager.instantiateBackingMap(String) method. |
| Methods inherited from class com.tangosol.net.AbstractBackingMapManager |
|---|
getContext, init |
| Field Detail |
|---|
protected DefaultConfigurableCacheFactory.CacheInfo m_info
protected XmlElement m_xmlScheme
protected BackingMapManagerContext m_context
protected java.lang.ClassLoader m_loader
protected PartitionAwareBackingMap m_pabm
protected boolean m_fConfigured
| Constructor Detail |
|---|
protected DefaultConfigurableCacheFactory.PartitionedBackingMapManager(DefaultConfigurableCacheFactory.CacheInfo info,
XmlElement xmlScheme,
BackingMapManagerContext context,
java.lang.ClassLoader loader)
| Method Detail |
|---|
public java.util.Map instantiateBackingMap(java.lang.String sName)
If the contents of the Map can be modified by anything other than the CacheService itself (e.g. if the Map automatically expires its entries periodically or size-limits its contents), then the returned object must implement the ObservableMap interface.
instantiateBackingMap in interface BackingMapManagerinstantiateBackingMap in class AbstractBackingMapManagersName - the name of the NamedCache for which this backing map is being created
public void releaseBackingMap(java.lang.String sName,
java.util.Map map)
AbstractBackingMapManager.instantiateBackingMap(String) method. This method is invoked by the CacheService when the CacheService no longer requires the specified Map object.releaseBackingMap in interface BackingMapManagerreleaseBackingMap in class AbstractBackingMapManagersName - the name of the NamedCache for which the specified Map object has acted as the backing mapmap - the Map object that is being releasedprotected void link(PartitionAwareBackingMap pabm)
pabm - PartitionAwareBackingMap that uses this manager
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||