public class OAObjectHashDelegate extends Object
Modifier and Type | Field and Description |
---|---|
protected static ConcurrentHashMap<Class,Object> |
hashCacheClass
Used by Cache to store all OAObjects.
|
protected static ConcurrentHashMap |
hashCacheListener
List of listeners for Cached objects
Key = Class
Value = Vector of listeners
|
protected static Hashtable |
hashCacheNamedHub
Used by Cache to store a Hub using a name.
|
protected static Hashtable |
hashCacheSelectAllHub
Used by Cache to store all hubs that have selected all objects.
|
protected static Hashtable<OALinkInfo,ArrayList> |
hashLinkInfoCacheArrayList |
protected static Hashtable<OALinkInfo,HashSet> |
hashLinkInfoCacheHashSet |
protected static Hashtable<OALinkInfo,ReentrantReadWriteLock> |
hashLinkInfoCacheLock
Used by OALinkInfo to cache Hubs so that they are not strong linked within object.
|
protected static Hashtable |
hashLock
Locking support for OAObject.
|
protected static ConcurrentHashMap<Class,OAObjectInfo> |
hashObjectInfo
Static cache of OAObjectInfo, keyed on Class.
|
protected static Hashtable<OAObjectInfo,Hub> |
hashRootHub
Used by OAObjectInfoDelegate to store the Root Hub for recursive classes.
|
protected static ArrayList |
lstRehash |
Constructor and Description |
---|
OAObjectHashDelegate() |
Modifier and Type | Method and Description |
---|---|
static Map<Integer,Integer> |
getAssigningIdHash() |
protected static Map<String,Method> |
getHashClassMethod(Class clazz) |
protected static Set<String> |
getHashClassMethodNotFound(Class clazz) |
static Map<Class,OAObjectInfo> |
getObjectInfoHash() |
static void |
rehash(OAObject oaObj,
OAObjectKey keyOld)
This is called by OAObjectKeyDelegate.updateKey() when an OAObject.OAObjectKey is changed so that it can be rehashed.
|
protected static final Hashtable<OALinkInfo,ReentrantReadWriteLock> hashLinkInfoCacheLock
protected static final Hashtable<OALinkInfo,ArrayList> hashLinkInfoCacheArrayList
protected static final Hashtable<OALinkInfo,HashSet> hashLinkInfoCacheHashSet
protected static final Hashtable<OAObjectInfo,Hub> hashRootHub
protected static final ConcurrentHashMap<Class,OAObjectInfo> hashObjectInfo
protected static final Hashtable hashLock
protected static final ConcurrentHashMap<Class,Object> hashCacheClass
protected static final ConcurrentHashMap hashCacheListener
protected static final Hashtable hashCacheSelectAllHub
protected static final Hashtable hashCacheNamedHub
protected static ArrayList lstRehash
public static Map<Class,OAObjectInfo> getObjectInfoHash()
public static void rehash(OAObject oaObj, OAObjectKey keyOld)
oaObj
- keyOld
- Copyright © 1999–2019 ViaOA. All rights reserved.