Class MapBuilder.Dependencies
- java.lang.Object
-
- com.tangosol.coherence.config.builder.MapBuilder.Dependencies
-
- Enclosing interface:
- MapBuilder
public static class MapBuilder.Dependencies extends Object
-
-
Constructor Summary
Constructors Constructor Description Dependencies(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackingMapManagerContext
getBackingMapManagerContext()
Return theBackingMapManagerContext
.String
getCacheName()
Return the cache name.ClassLoader
getClassLoader()
Returns theClassLoader
to use in the context of realizingMap
s and other associated infrastructure.ConfigurableCacheFactory
getConfigurableCacheFactory()
Return theConfigurableCacheFactory
needed to create nested caches.Map<Map,MapListener>
getMapListenersRegistry()
String
getServiceType()
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 Detail
-
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 Detail
-
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
public BackingMapManagerContext getBackingMapManagerContext()
Return theBackingMapManagerContext
.- Returns:
- the BackingMapManagerContext
-
getCacheName
public String getCacheName()
Return the cache name.- Returns:
- the cache name
-
getConfigurableCacheFactory
public ConfigurableCacheFactory getConfigurableCacheFactory()
Return theConfigurableCacheFactory
needed to create nested caches.- Returns:
- the ConfigurableCacheFactory
-
getClassLoader
public ClassLoader getClassLoader()
Returns theClassLoader
to use in the context of realizingMap
s and other associated infrastructure.- Returns:
- the
ClassLoader
-
getServiceType
public String getServiceType()
Return the Service type.- Returns:
- the Service type
-
getMapListenersRegistry
public Map<Map,MapListener> getMapListenersRegistry()
- Returns:
- the
Map
ofMap
s toMapListener
s
-
-