|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-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
public static class NullImplementation.NullBackingMapManagerContext
An implementation of BackingMapManagerContext that does nothing.
Field Summary | |
---|---|
static NullImplementation.NullBackingMapManagerContext |
INSTANCE Singleton instance. |
Fields inherited from interface com.tangosol.net.BackingMapManagerContext |
---|
DECO_CUSTOM, DECO_EXPIRY, DECO_STORE |
Method Summary | |
---|---|
Object |
addInternalValueDecoration(Object oValue, int nDecorId, Object oDecor) Decorate a specified value in the internal form with a specified decoration in the "normal" Object form. |
Map |
getBackingMap(String sCacheName) Obtain a reference to the backing map that corresponds to the specified cache name. |
CacheService |
getCacheService() Return the CacheService assosiated with this context. |
ClassLoader |
getClassLoader() Return the ClassLoader assosiated with this context. |
XmlElement |
getConfig() Determine the current configuration of the assosiated BackingMapManager. |
Object |
getInternalValueDecoration(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(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. |
Set |
getPartitionKeys(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(Object oValue, int nDecorId) Check whether or not the specified value in the internal form is decorated. |
boolean |
isKeyOwned(Object oKey) Determines whether or not the specified key (in the internal format) is managed (i.e. controlled) by this service member. |
Object |
removeInternalValueDecoration(Object oValue, int nDecorId) Remove a decoration from the specified value in the internal form. |
void |
setClassLoader(ClassLoader loader) Assign the ClassLoader this context is assosiated with. |
void |
setConfig(XmlElement xml) Specify the configuration for the assosiated BackingMapManager. |
Field Detail |
---|
public static final NullImplementation.NullBackingMapManagerContext INSTANCE
Method Detail |
---|
public BackingMapManager getManager()
getManager
in interface BackingMapManagerContext
public CacheService getCacheService()
getCacheService
in interface BackingMapManagerContext
public ClassLoader getClassLoader()
getClassLoader
in interface BackingMapManagerContext
public void setClassLoader(ClassLoader loader)
setClassLoader
in interface BackingMapManagerContext
loader
- the ClassLoader assosiated with this contextpublic Converter getKeyToInternalConverter()
getKeyToInternalConverter
in interface BackingMapManagerContext
public Converter getKeyFromInternalConverter()
getKeyFromInternalConverter
in interface BackingMapManagerContext
public Converter getValueToInternalConverter()
getValueToInternalConverter
in interface BackingMapManagerContext
public Converter getValueFromInternalConverter()
getValueFromInternalConverter
in interface BackingMapManagerContext
public boolean isKeyOwned(Object oKey)
isKeyOwned
in interface BackingMapManagerContext
oKey
- the resource key in the internal formatpublic int getKeyPartition(Object oKey)
getKeyPartition
in interface BackingMapManagerContext
oKey
- a key in its internal formatpublic Set getPartitionKeys(String sCacheName, int nPartition)
getPartitionKeys
in interface BackingMapManagerContext
sCacheName
- the cache name for the backing map to retrieve the set of keys fornPartition
- the partition IDpublic Map getBackingMap(String sCacheName)
getBackingMap
in interface BackingMapManagerContext
sCacheName
- the cache namepublic Object addInternalValueDecoration(Object oValue, int nDecorId, Object oDecor)
internal converter
to either passed-in or returned internal values will produce identical values in Object form.addInternalValueDecoration
in interface BackingMapManagerContext
oValue
- a value in the internal formnDecorId
- a decoration identifier; valid decoration identifiers are any of the DECO_* constant valuesoDecor
- a decoration value in Object formpublic Object removeInternalValueDecoration(Object oValue, int nDecorId)
internal converter
to either passed-in or returned internal values will produce identical values in Object form.removeInternalValueDecoration
in interface BackingMapManagerContext
oValue
- a decorated value in the internal formnDecorId
- a decoration identifier; valid decoration identifiers are any of the DECO_* constant valuespublic boolean isInternalValueDecorated(Object oValue, int nDecorId)
isInternalValueDecorated
in interface BackingMapManagerContext
oValue
- a decorated value in the internal formnDecorId
- a decoration identifier; valid decoration identifiers are any of the DECO_* constant valuespublic Object getInternalValueDecoration(Object oValue, int nDecorId)
getInternalValueDecoration
in interface BackingMapManagerContext
oValue
- a decorated value in the internal formnDecorId
- a decoration identifier; valid decoration identifiers are any of the DECO_* constant valuespublic XmlElement getConfig()
getConfig
in interface BackingMapManagerContext
getConfig
in interface XmlConfigurable
public void setConfig(XmlElement xml)
setConfig
in interface BackingMapManagerContext
setConfig
in interface XmlConfigurable
xml
- the XML configuration
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |