Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.coherence.config.builder
Class MapBuilder.Dependencies

java.lang.Object
  extended by com.tangosol.coherence.config.builder.MapBuilder.Dependencies

Enclosing interface:
MapBuilder

public static class MapBuilder.Dependencies
extends java.lang.Object

The commonly required MapBuilder.Dependencies for realizing a Map with a MapBuilder.


Constructor Summary
MapBuilder.Dependencies(ConfigurableCacheFactory ccf, BackingMapManagerContext ctxBackingMapManager, java.lang.ClassLoader loader, java.lang.String sCacheName, java.lang.String sServiceType)
          Constructs a MapBuilder.Dependencies.
MapBuilder.Dependencies(ConfigurableCacheFactory ccf, BackingMapManagerContext ctxBackingMapManager, java.lang.ClassLoader loader, java.lang.String sCacheName, java.lang.String sServiceType, java.util.Map mapMapListeners)
          Constructs a MapBuilder.Dependencies.

 

Method Summary
 BackingMapManagerContext getBackingMapManagerContext()
          Return the BackingMapManagerContext.
 java.lang.String getCacheName()
          Return the cache name.
 java.lang.ClassLoader getClassLoader()
          Returns the ClassLoader to use in the context of realizing Maps and other associated infrastructure.
 ConfigurableCacheFactory getConfigurableCacheFactory()
          Return the ConfigurableCacheFactory needed to create nested caches.
 java.util.Map getMapListenersRegistry()
          Obtains the registry of MapListeners, which is a Map keyed by Map to their associated MapListener.
 java.lang.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.
 void setBackup(boolean fBackup)
          Set the flag indicating that the map is a backup map.

 

Constructor Detail

MapBuilder.Dependencies

public MapBuilder.Dependencies(ConfigurableCacheFactory ccf,
                               BackingMapManagerContext ctxBackingMapManager,
                               java.lang.ClassLoader loader,
                               java.lang.String sCacheName,
                               java.lang.String sServiceType)
Constructs a MapBuilder.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 or null.

Parameters:
ccf - the ConfigurableCacheFactory
ctxBackingMapManager - the BackingMapManagerContext
loader - the ClassLoader
sCacheName - the cache name
sServiceType - the service type

MapBuilder.Dependencies

public MapBuilder.Dependencies(ConfigurableCacheFactory ccf,
                               BackingMapManagerContext ctxBackingMapManager,
                               java.lang.ClassLoader loader,
                               java.lang.String sCacheName,
                               java.lang.String sServiceType,
                               java.util.Map mapMapListeners)
Constructs a MapBuilder.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 or null.

Parameters:
ccf - the ConfigurableCacheFactory
ctxBackingMapManager - the BackingMapManagerContext
loader - the ClassLoader
sCacheName - the cache name
sServiceType - 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

getBackingMapManagerContext

public BackingMapManagerContext getBackingMapManagerContext()
Return the BackingMapManagerContext.
Returns:
the BackingMapManagerContext

getCacheName

public java.lang.String getCacheName()
Return the cache name.
Returns:
the cache name

getConfigurableCacheFactory

public ConfigurableCacheFactory getConfigurableCacheFactory()
Return the ConfigurableCacheFactory needed to create nested caches.
Returns:
the ConfigurableCacheFactory

getClassLoader

public java.lang.ClassLoader getClassLoader()
Returns the ClassLoader to use in the context of realizing Maps and other associated infrastructure.
Returns:
the ClassLoader

getServiceType

public java.lang.String getServiceType()
Return the Service type.
Returns:
the Service type

getMapListenersRegistry

public java.util.Map getMapListenersRegistry()
Obtains the registry of MapListeners, which is a Map keyed by Map to their associated MapListener.
Returns:
the Map of Maps to MapListeners

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.