Purpose: Container class for storing objects in an IdentityMap. The soft cache key uses a soft reference to allow garbage collection of its object. The cache key itself however will remain and thus should cleaned up every now and then.
Responsibilities:
| Access | Constructor and Description |
|---|---|
| public | SoftCacheKey(Object
contains values extracted from the object primaryKey, Object object, Object is the write lock value, null if optimistic locking not being used for this object. writeLockValue, long the time EclipseLInk read the cache key readTime, boolean isIsolated)Initialize the newly allocated instance of this class. |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| SoftCacheKey | back to summary |
|---|---|
| public SoftCacheKey(Object primaryKey, Object object, Object writeLockValue, long readTime, boolean isIsolated) Initialize the newly allocated instance of this class. | |
| setObject | back to summary |
|---|---|
| public void setObject(Object object) Overrides org.
| |