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 BackingMapManagerContextgetBackingMapManagerContext()Return theBackingMapManagerContext.StringgetCacheName()Return the cache name.ClassLoadergetClassLoader()Returns theClassLoaderto use in the context of realizingMaps and other associated infrastructure.ConfigurableCacheFactorygetConfigurableCacheFactory()Return theConfigurableCacheFactoryneeded to create nested caches.Map<Map,MapListener>getMapListenersRegistry()StringgetServiceType()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 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.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 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 theConfigurableCacheFactoryneeded to create nested caches.- Returns:
- the ConfigurableCacheFactory
-
getClassLoader
public ClassLoader getClassLoader()
Returns theClassLoaderto use in the context of realizingMaps 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
MapofMaps toMapListeners
-
-