Class MapBuilder.Dependencies
java.lang.Object
com.tangosol.coherence.config.builder.MapBuilder.Dependencies
- Enclosing interface:
MapBuilder
-
Constructor Summary
ConstructorDescriptionDependencies
(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 theClassLoader
to use in the context of realizingMap
s and other associated infrastructure.Return theConfigurableCacheFactory
needed to create nested caches.Return the Service type.boolean
isBackup()
Return true if the map is a backup map.boolean
isBinary()
Return true if the map is binary.boolean
isBlind()
Return true if the map is in blind mode.void
setBackup
(boolean fBackup) Set the flag indicating that the map is a backup map.void
setBlind
(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.Dependencies
may not be available or not required. In these cases the properties will be a default value ornull
.- Parameters:
ccf
- theConfigurableCacheFactory
ctxBackingMapManager
- the BackingMapManagerContextloader
- theClassLoader
sCacheName
- 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.Dependencies
may not be available or not required. In these cases the properties will be a default value ornull
.- Parameters:
ccf
- theConfigurableCacheFactory
ctxBackingMapManager
- the BackingMapManagerContextloader
- theClassLoader
sCacheName
- 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 theConfigurableCacheFactory
needed to create nested caches.- Returns:
- the ConfigurableCacheFactory
-
getClassLoader
Returns theClassLoader
to use in the context of realizingMap
s and other associated infrastructure.- Returns:
- the
ClassLoader
-
getServiceType
Return the Service type.- Returns:
- the Service type
-
getMapListenersRegistry
- Returns:
- the
Map
ofMap
s toMapListener
s
-