@Deprecated public class CacheRegistry extends Object
| Constructor and Description |
|---|
CacheRegistry()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
Clears the registry (removes everything)
|
Map[] |
getFullPathForKey(String tenantID,
Object[] key)
Deprecated.
Returns an array of Map object that currently keep the registry mapping for the given key.
|
Map |
getNodeForKey(String tenantID,
Object[] key)
Deprecated.
Returns a Map that corresponds to the given key.
|
Object |
getTreeLock()
Deprecated.
|
Object |
removeKeyFromPath(Map[] path,
Object[] key)
Deprecated.
Removes a key from registry map.
|
public final Object getTreeLock()
public void clear()
public Map[] getFullPathForKey(String tenantID, Object[] key)
public Object removeKeyFromPath(Map[] path, Object[] key)
public Map getNodeForKey(String tenantID, Object[] key)
When this method is invoked with the key: ["hjmp", "1", 123456789]
The following data structure is traversed (intermediate nodes are created if not already exist):
Registry root map has a mapping
"hjmp" -> Map1
Map1 has a mapping
"1" -> Map2
Map2 has a mapping
123456789 -> Map3
Map3 would be the Map returned by this method.
Copyright © 2017 SAP SE. All Rights Reserved.