| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
   com.tangosol.util.NullImplementation.NullBackingMapManagerContext
com.tangosol.util.NullImplementation.NullBackingMapManagerContext
public static class NullImplementation.NullBackingMapManagerContext
An implementation of BackingMapManagerContext that does nothing.
| Field Summary | |
|---|---|
| static NullImplementation.NullBackingMapManagerContext | INSTANCESingleton instance. | 
| Fields inherited from interface com.tangosol.net.BackingMapManagerContext | 
|---|
| DECO_CUSTOM, DECO_EXPIRY, DECO_STORE | 
| Method Summary | |
|---|---|
|  java.lang.Object | addInternalValueDecoration(java.lang.Object oValue, int nDecorId, java.lang.Object oDecor)Decorate a specified value in the internal form with a specified decoration in the "normal" Object form. | 
|  java.util.Map | getBackingMap(java.lang.String sCacheName)Obtain a reference to the backing map that corresponds to the specified cache name. | 
|  BackingMapContext | getBackingMapContext(java.lang.String sCacheName)Obtain a reference to the BackingMapContextthat corresponds to the specified cache name. | 
|  CacheService | getCacheService()Return the CacheService associated with this context. | 
|  java.lang.ClassLoader | getClassLoader()Return the ClassLoader associated with this context. | 
|  XmlElement | getConfig()Determine the current configuration of the associated BackingMapManager. | 
|  java.lang.Object | getInternalValueDecoration(java.lang.Object oValue, int nDecorId)Obtain a decoration from the specified value in the internal form. | 
|  Converter | getKeyFromInternalConverter()Return a converter that allows the manager (or a backing map managed thereby) to convert a key object from its internal form (as managed by the CacheService) into its "normal" (Object) form. | 
|  int | getKeyPartition(java.lang.Object oKey)Determine the partition to which the specified key belongs. | 
|  Converter | getKeyToInternalConverter()Return a converter that allows the manager (or a backing map managed thereby) to convert a key object into its internal form as managed by the CacheService. | 
|  BackingMapManager | getManager()Return the BackingMapManager this object is a context for. | 
|  java.util.Set | getPartitionKeys(java.lang.String sCacheName, int nPartition)Obtain a collection of keys in the internal format that belong to the specified partition for the specified backing map. | 
|  Converter | getValueFromInternalConverter()Return a converter that allows the manager (or a backing map managed thereby) to convert a value object from its internal form (as managed by the CacheService) into its "normal" (Object) form. | 
|  Converter | getValueToInternalConverter()Return a converter that allows the manager (or a backing map managed thereby) to convert a value object into its internal form as managed by the CacheService. | 
|  boolean | isInternalValueDecorated(java.lang.Object oValue, int nDecorId)Check whether or not the specified value in the internal form is decorated. | 
|  boolean | isKeyOwned(java.lang.Object oKey)Determines whether or not the specified key (in the internal format) is managed (i.e. controlled) by this service member. | 
|  java.lang.Object | removeInternalValueDecoration(java.lang.Object oValue, int nDecorId)Remove a decoration from the specified value in the internal form. | 
|  void | setClassLoader(java.lang.ClassLoader loader)Assign the ClassLoader this context is associated with. | 
|  void | setConfig(XmlElement xml)Specify the configuration for the associated BackingMapManager. | 
| Field Detail | 
|---|
public static final NullImplementation.NullBackingMapManagerContext INSTANCE
| Method Detail | 
|---|
public BackingMapManager getManager()
getManager in interface BackingMapManagerContextpublic CacheService getCacheService()
getCacheService in interface BackingMapManagerContextpublic java.lang.ClassLoader getClassLoader()
getClassLoader in interface BackingMapManagerContextpublic void setClassLoader(java.lang.ClassLoader loader)
setClassLoader in interface BackingMapManagerContextloader - the ClassLoader associated with this contextpublic Converter getKeyToInternalConverter()
getKeyToInternalConverter in interface BackingMapManagerContextpublic Converter getKeyFromInternalConverter()
getKeyFromInternalConverter in interface BackingMapManagerContextpublic Converter getValueToInternalConverter()
getValueToInternalConverter in interface BackingMapManagerContextpublic Converter getValueFromInternalConverter()
getValueFromInternalConverter in interface BackingMapManagerContextpublic boolean isKeyOwned(java.lang.Object oKey)
isKeyOwned in interface BackingMapManagerContextoKey - the resource key in the internal formatpublic int getKeyPartition(java.lang.Object oKey)
getKeyPartition in interface BackingMapManagerContextoKey - a key in its internal format
public java.util.Set getPartitionKeys(java.lang.String sCacheName,
                                      int nPartition)
getPartitionKeys in interface BackingMapManagerContextsCacheName - the cache name for the backing map to retrieve the set of keys fornPartition - the partition IDpublic java.util.Map getBackingMap(java.lang.String sCacheName)
getBackingMap in interface BackingMapManagerContextsCacheName - the cache name
public java.lang.Object addInternalValueDecoration(java.lang.Object oValue,
                                                   int nDecorId,
                                                   java.lang.Object oDecor)
internal converter to either passed-in or returned internal values will produce identical values in Object form.addInternalValueDecoration in interface BackingMapManagerContextoValue - a value in the internal formnDecorId - a decoration identifier; valid decoration identifiers are any of the DECO_* constant valuesoDecor - a decoration value in Object form
public java.lang.Object removeInternalValueDecoration(java.lang.Object oValue,
                                                      int nDecorId)
internal converter to either passed-in or returned internal values will produce identical values in Object form.removeInternalValueDecoration in interface BackingMapManagerContextoValue - a decorated value in the internal formnDecorId - a decoration identifier; valid decoration identifiers are any of the DECO_* constant values
public boolean isInternalValueDecorated(java.lang.Object oValue,
                                        int nDecorId)
isInternalValueDecorated in interface BackingMapManagerContextoValue - a decorated value in the internal formnDecorId - a decoration identifier; valid decoration identifiers are any of the DECO_* constant values
public java.lang.Object getInternalValueDecoration(java.lang.Object oValue,
                                                   int nDecorId)
getInternalValueDecoration in interface BackingMapManagerContextoValue - a decorated value in the internal formnDecorId - a decoration identifier; valid decoration identifiers are any of the DECO_* constant valuespublic BackingMapContext getBackingMapContext(java.lang.String sCacheName)
BackingMapContext that corresponds to the specified cache name.
Note: calling this method will not create a backing map for the specified cache name; it will return null if the cache has yet to be used (e.g. via ConfigurableCacheFactory.ensureCache call) or has been destroyed
getBackingMapContext in interface BackingMapManagerContextsCacheName - the cache namepublic XmlElement getConfig()
getConfig in interface BackingMapManagerContextgetConfig in interface XmlConfigurablepublic void setConfig(XmlElement xml)
setConfig in interface BackingMapManagerContextsetConfig in interface XmlConfigurablexml - the XML configuration| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||