| Modifier and Type | Field and Description |
|---|---|
| protected CacheKey |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | acquire()
Overrides org. |
| public void | acquire(boolean forMerge)
Overrides org. |
| public void | acquireDeferredLock()
Overrides org. |
| public boolean | acquireIfUnownedNoWait()
Overrides org. |
| public boolean | acquireNoWait()
Overrides org. |
| public boolean | acquireNoWait(boolean forMerge)
Overrides org. |
| public void | acquireReadLock()
Overrides org. |
| public boolean | acquireReadLockNoWait()
Overrides org. |
| public void | checkDeferredLock()
Overrides org. |
| public void | checkReadLock()
Overrides org. |
| public Object | clone()
Overrides org. |
| public boolean | equals(CacheKey key)
Overrides org. |
| public Thread | getActiveThread()
Overrides org. |
| public int | getInvalidationState()
Overrides org. |
| public Object | |
| public long | getLastUpdatedQueryId()
Overrides org. |
| public Object | |
| public IdentityMap | |
| public long | getReadTime()
Overrides org. |
| public DataRecord | |
| public CacheKey | getWrappedCacheKey()
Overrides org. |
| public Object | |
| public Object | |
| public int | hashCode()
Overrides org. |
| public boolean | isAcquired()
Overrides org. |
| public void | release()
Overrides org. |
| public void | releaseDeferredLock()
Overrides org. |
| public void | releaseReadLock()
Overrides org. |
| public Object | removeFromOwningMap()
Overrides org. |
| public void | setInvalidationState(int invalidationState)
Overrides org. |
| public void | |
| public void | setLastUpdatedQueryId(long id)
Overrides org. |
| public void | |
| public void | |
| public void | setReadTime(long readTime)
Overrides org. |
| public void | setRecord(DataRecord newDataRecord)
Overrides org. |
| public void | setWrapper(Object wrapper)
Overrides org. |
| public void | setWriteLockValue(Object writeLockValue)
Overrides org. |
| public String | toString()
Overrides org. |
| public void | updateAccess()
Overrides org. |
| wrappedKey | back to summary |
|---|---|
| protected CacheKey wrappedKey | |
| CacheKeyInterceptor | back to summary |
|---|---|
| public CacheKeyInterceptor(CacheKey cacheKey) | |
| acquire | back to summary |
|---|---|
| public void acquire() Overrides org. Acquire the lock on the cache key object.
| |
| acquire | back to summary |
|---|---|
| public void acquire(boolean forMerge) Overrides org. Acquire the lock on the cache key object. For the merge process called with true from the merge process, if true then the refresh will not refresh the object
| |
| acquireDeferredLock | back to summary |
|---|---|
| public void acquireDeferredLock() Overrides org. Acquire the deferred lock.
| |
| acquireIfUnownedNoWait | back to summary |
|---|---|
| public boolean acquireIfUnownedNoWait() Overrides org. Acquire the lock on the cache key object. Only acquire a lock if the cache key's active thread is not set. Added for Bug 5840635
| |
| acquireNoWait | back to summary |
|---|---|
| public boolean acquireNoWait() Overrides org. Acquire the lock on the cache key object. But only if the object has no lock on it Added for CR 2317
| |
| acquireNoWait | back to summary |
|---|---|
| public boolean acquireNoWait(boolean forMerge) Overrides org. Acquire the lock on the cache key object. But only if the object has no lock on it Added for CR 2317 called with true from the merge process, if true then the refresh will not refresh the object
| |
| acquireReadLock | back to summary |
|---|---|
| public void acquireReadLock() Overrides org. Acquire the read lock on the cache key object.
| |
| acquireReadLockNoWait | back to summary |
|---|---|
| public boolean acquireReadLockNoWait() Overrides org. Acquire the read lock on the cache key object.
| |
| checkDeferredLock | back to summary |
|---|---|
| public void checkDeferredLock() Overrides org. Doc from org. Check the deferred lock on the cache key object. This can be called to ensure the cache key has a valid built object. It does not hold a lock, so the object could be refreshed afterwards.
| |
| checkReadLock | back to summary |
|---|---|
| public void checkReadLock() Overrides org. Doc from org. Check the read lock on the cache key object. This can be called to ensure the cache key has a valid built object. It does not hold a lock, so the object could be refreshed afterwards.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides org. Doc from org. INTERNAL: Clones itself.
| |
| equals | back to summary |
|---|---|
| public boolean equals(CacheKey key) Overrides org. Doc from org. Determine if the receiver is equal to key. Use an index compare, because it is much faster than enumerations.
| |
| getActiveThread | back to summary |
|---|---|
| public Thread getActiveThread() Overrides org. Return the active thread.
| |
| getInvalidationState | back to summary |
|---|---|
| public int getInvalidationState() Overrides org. Doc from org. INTERNAL: Return the value of the invalidationState Variable The return value will be a constant CHECK_INVALIDATION_POLICY - The Invalidation policy is must be checked for this cache key's sate CACHE_KEY_INVALID - This cache key has been labeled invalid.
| |
| getKey | back to summary |
|---|---|
| public Object getKey() Overrides org.
| |
| getLastUpdatedQueryId | back to summary |
|---|---|
| public long getLastUpdatedQueryId() Overrides org. Doc from org. INTERNAL: This method returns the system time in millis seconds at which this object was last refreshed CR #4365 CR #2698903 ... instead of using millis we will now use id's instead. Method renamed appropriately.
| |
| getObject | back to summary |
|---|---|
| public Object getObject() Overrides org.
| |
| getOwningMap | back to summary |
|---|---|
| public IdentityMap getOwningMap() Overrides org.
| |
| getReadTime | back to summary |
|---|---|
| public long getReadTime() Overrides org. INTERNAL: Return the current value of the Read Time variable
| |
| getRecord | back to summary |
|---|---|
| public DataRecord getRecord() Overrides org.
| |
| getWrappedCacheKey | back to summary |
|---|---|
| public CacheKey getWrappedCacheKey() Overrides org. If a Wrapper subclasses this CacheKey this method will be used to unwrap the cache key.
| |
| getWrapper | back to summary |
|---|---|
| public Object getWrapper() Overrides org.
| |
| getWriteLockValue | back to summary |
|---|---|
| public Object getWriteLockValue() Overrides org.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from org. Overrides hashCode() in Object to use the primaryKey's hashCode for storage in data structures.
| |
| isAcquired | back to summary |
|---|---|
| public boolean isAcquired() Overrides org. Doc from org. Return if a thread has acquire this manager.
| |
| release | back to summary |
|---|---|
| public void release() Overrides org. Release the lock on the cache key object.
| |
| releaseDeferredLock | back to summary |
|---|---|
| public void releaseDeferredLock() Overrides org. Release the deferred lock
| |
| releaseReadLock | back to summary |
|---|---|
| public void releaseReadLock() Overrides org. Release the read lock on the cache key object.
| |
| removeFromOwningMap | back to summary |
|---|---|
| public Object removeFromOwningMap() Overrides org. Removes this cacheKey from the owning map
| |
| setInvalidationState | back to summary |
|---|---|
| public void setInvalidationState(int invalidationState) Overrides org. Doc from org. INTERNAL: Set the value of the invalidationState Variable The possible values are from an enumeration of constants CHECK_INVALIDATION_POLICY - The invalidation policy is must be checked for this cache key's sate CACHE_KEY_INVALID - This cache key has been labelled invalid.
| |
| setKey | back to summary |
|---|---|
| public void setKey(Object key) Overrides org.
| |
| setLastUpdatedQueryId | back to summary |
|---|---|
| public void setLastUpdatedQueryId(long id) Overrides org. Doc from org. INTERNAL: This method sets the system time in millis seconds at which this object was last refreshed CR #4365 CR #2698903 ... instead of using millis we will now use ids instead. Method renamed appropriately.
| |
| setObject | back to summary |
|---|---|
| public void setObject(Object object) Overrides org.
| |
| setOwningMap | back to summary |
|---|---|
| public void setOwningMap(AbstractIdentityMap map) | |
| setReadTime | back to summary |
|---|---|
| public void setReadTime(long readTime) Overrides org. Doc from org. INTERNAL: Set the read time of this cache key
| |
| setRecord | back to summary |
|---|---|
| public void setRecord(DataRecord newDataRecord) Overrides org.
| |
| setWrapper | back to summary |
|---|---|
| public void setWrapper(Object wrapper) Overrides org.
| |
| setWriteLockValue | back to summary |
|---|---|
| public void setWriteLockValue(Object writeLockValue) Overrides org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from org. Print the nested depth.
| |
| updateAccess | back to summary |
|---|---|
| public void updateAccess() Overrides org. Doc from org. Notifies that cache key that it has been accessed. Allows the LRU sub-cache to be maintained.
| |