Purpose: A SoftIdentityMap holds all objects referenced by the application. The soft identity map is similar to the weak identity map except for the fact that it allows only garbage collects when memory is low.
Responsibilities:
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CacheKey | createCacheKey(Object primaryKey, Object object, Object writeLockValue, long readTime)
Overrides org. |
| SoftIdentityMap | back to summary |
|---|---|
| public SoftIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isIsolated) | |
| createCacheKey | back to summary |
|---|---|
| public CacheKey createCacheKey(Object primaryKey, Object object, Object writeLockValue, long readTime) Overrides org. Doc from org. Create the correct type of CacheKey for this map.
| |