@Deprecated
public class CacheRegistry
extends java.lang.Object
| Constructor and Description |
|---|
CacheRegistry()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
Clears the registry (removes everything)
|
java.util.Map[] |
getFullPathForKey(java.lang.String tenantID,
java.lang.Object[] key)
Deprecated.
Returns an array of Map object that currently keep the registry mapping for the given key.
|
java.util.Map |
getNodeForKey(java.lang.String tenantID,
java.lang.Object[] key)
Deprecated.
Returns a Map that corresponds to the given key.
|
java.lang.Object |
getTreeLock()
Deprecated.
|
java.lang.Object |
removeKeyFromPath(java.util.Map[] path,
java.lang.Object[] key)
Deprecated.
Removes a key from registry map.
|
public final java.lang.Object getTreeLock()
public void clear()
public java.util.Map[] getFullPathForKey(java.lang.String tenantID,
java.lang.Object[] key)
public java.lang.Object removeKeyFromPath(java.util.Map[] path,
java.lang.Object[] key)
public java.util.Map getNodeForKey(java.lang.String tenantID,
java.lang.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 © 2018 SAP SE. All Rights Reserved.