Class MapBuilder.Dependencies
java.lang.Object
com.tangosol.coherence.config.builder.MapBuilder.Dependencies
- Enclosing interface:
- MapBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionDependencies(ConfigurableCacheFactory ccf, BackingMapManagerContext ctxBackingMapManager, ClassLoader loader, String sCacheName, String sServiceType) Constructs aMapBuilder.Dependencies.Dependencies(ConfigurableCacheFactory ccf, BackingMapManagerContext ctxBackingMapManager, ClassLoader loader, String sCacheName, String sServiceType, Map<Map, MapListener> mapMapListeners) Constructs aMapBuilder.Dependencies. -
Method Summary
Modifier and TypeMethodDescriptionReturn theBackingMapManagerContext.Return the cache name.Returns theClassLoaderto use in the context of realizingMaps and other associated infrastructure.Return theConfigurableCacheFactoryneeded to create nested caches.Return the Service type.booleanisBackup()Return true if the map is a backup map.booleanisBinary()Return true if the map is binary.booleanisBlind()Return true if the map is in blind mode.voidsetBackup(boolean fBackup) Set the flag indicating that the map is a backup map.voidsetBlind(boolean fBlind) Set the flag indicating that the map is in blind mode.
-
Constructor Details
-
Dependencies
public Dependencies(ConfigurableCacheFactory ccf, BackingMapManagerContext ctxBackingMapManager, ClassLoader loader, String sCacheName, String sServiceType) Constructs aMapBuilder.Dependencies.Note: In some circumstances the properties encapsulated by a
MapBuilder.Dependenciesmay not be available or not required. In these cases the properties will be a default value ornull.- Parameters:
ccf- theConfigurableCacheFactoryctxBackingMapManager- the BackingMapManagerContextloader- theClassLoadersCacheName- the cache namesServiceType- the service type
-
Dependencies
public Dependencies(ConfigurableCacheFactory ccf, BackingMapManagerContext ctxBackingMapManager, ClassLoader loader, String sCacheName, String sServiceType, Map<Map, MapListener> mapMapListeners) Constructs aMapBuilder.Dependencies.Note: In some circumstances the properties encapsulated by a
MapBuilder.Dependenciesmay not be available or not required. In these cases the properties will be a default value ornull.- Parameters:
ccf- theConfigurableCacheFactoryctxBackingMapManager- the BackingMapManagerContextloader- theClassLoadersCacheName- the cache namesServiceType- the service type
-
-
Method Details
-
isBinary
public boolean isBinary()Return true if the map is binary.- Returns:
- true if the map is binary
-
isBackup
public boolean isBackup()Return true if the map is a backup map.- Returns:
- true if the map is a backup map
-
setBackup
public void setBackup(boolean fBackup) Set the flag indicating that the map is a backup map.- Parameters:
fBackup- true if the map is a backup map
-
isBlind
public boolean isBlind()Return true if the map is in blind mode.- Returns:
- true if the map is in blind mode
-
setBlind
public void setBlind(boolean fBlind) Set the flag indicating that the map is in blind mode.- Parameters:
fBlind- true if the map is in blind mode.
-
getBackingMapManagerContext
Return theBackingMapManagerContext.- Returns:
- the BackingMapManagerContext
-
getCacheName
Return the cache name.- Returns:
- the cache name
-
getConfigurableCacheFactory
Return theConfigurableCacheFactoryneeded to create nested caches.- Returns:
- the ConfigurableCacheFactory
-
getClassLoader
Returns theClassLoaderto use in the context of realizingMaps and other associated infrastructure.- Returns:
- the
ClassLoader
-
getServiceType
Return the Service type.- Returns:
- the Service type
-
getMapListenersRegistry
- Returns:
- the
MapofMaps toMapListeners
-