Purpose: Provide the capability to not cache objects at all.
Responsibilities:
super(size);
locking for no identity. CacheKey cacheKey = new CacheKey(primaryKey); cacheKey.acquire(); return cacheKey;
CacheKey cacheKey = new CacheKey(primaryKey); cacheKey.acquire(); return cacheKey;
INTERNAL: Used to print all the Locks in every identity map in this session. The output of this method will go to log passed in as a parameter.
Allow for the cache to be iterated on. return new Vector(1).elements();
return new Vector(1).elements();
Return the object cached in the identity map Return null as no object is cached in the no IM. return null;
return null;
Return null since no objects are actually cached. return null;
return0 (zero) return 0;
return 0;
Return the number of actual objects of type myClass in the IdentityMap. Recurse = true will include subclasses of myClass in the count. return 0;
Get the write lock value from the cache key associated to the primarykey return null;
Allow for the cache keys to be iterated on. return new Vector(1).elements();
DO NOTHING. return null;
DO NOTHING return;
return;
Do Nothing. Return null, since no objects are cached. return null;
Do Nothing Return null, since no objects are cached. return null;