|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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.ExtensibleConfigurableCacheFactory.PartitionedBackingMapManager
public static class ExtensibleConfigurableCacheFactory.PartitionedBackingMapManager
The PartitionedBackingMapManager is used by PartitionAwareBackingMap(s) to lazily configure the enclosing PABM based on the configuration settings of the enclosed maps.
Constructor Summary | |
---|---|
protected |
ExtensibleConfigurableCacheFactory.PartitionedBackingMapManager(ExtensibleConfigurableCacheFactory factory, MapBuilder.Dependencies dependencies, com.tangosol.config.expression.ParameterResolver resolver, MapBuilder bldrMap) Create a PartitionedBackingMapManager object. |
Method Summary | |
---|---|
ExtensibleConfigurableCacheFactory |
getCacheFactory() Obtain the "container" ConfigurableCacheFactory that created this manager and which this manager is bound to. |
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. |
boolean |
isBackingMapPersistent(java.lang.String sName) Determine if the contents of the Map that is used by a CacheService to store cached values for a NamedCache with the specified name should be persisted. |
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 class com.tangosol.net.AbstractBackingMapManager |
---|
getContext, init |
Constructor Detail |
---|
protected ExtensibleConfigurableCacheFactory.PartitionedBackingMapManager(ExtensibleConfigurableCacheFactory factory, MapBuilder.Dependencies dependencies, com.tangosol.config.expression.ParameterResolver resolver, MapBuilder bldrMap)
factory
- the factory associated with this managerdependencies
- the MapBuilder
dependenciesresolver
- the ParameterResolver needed to resolve cache paramsbldrMap
- the builder that will build the backing mapMethod 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. NOTE: The cache name passed in has a partition number appended to it so that we cannot use it to find a parameter resolver. This is why the resolver is passed into the constructor.
sName
- the name of the NamedCache for which this backing map is being createdpublic boolean isBackingMapPersistent(java.lang.String sName)
sName
- the name of the NamedCachepublic void releaseBackingMap(java.lang.String sName, java.util.Map map)
BackingMapManager.instantiateBackingMap(String)
method. This method is invoked by the CacheService when the CacheService no longer requires the specified Map object.releaseBackingMap
in interface BackingMapManager
releaseBackingMap
in class AbstractBackingMapManager
sName
- the name of the NamedCache for which the specified Map object has acted as the backing mapmap
- the Map object that is being releasedpublic ExtensibleConfigurableCacheFactory getCacheFactory()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |