Top Description Fields Constructors Methods
org.eclipse.persistence.internal.identitymaps

public Class LinkedCacheKey

extends CacheKey
Class Inheritance

Purpose: Provides the capability to insert CacheKeys into a Linked List.

Responsibilities:

Since
TOPLink/Java 1.0
See Also
CacheIdentityMap

Field Summary

Modifier and TypeField and Description
protected LinkedCacheKey
next

Handle on next element in cache

protected LinkedCacheKey
previous

Handle on previous element in cache

Inherited from org.eclipse.persistence.internal.identitymaps.CacheKey:
CACHE_KEY_INVALIDCHECK_INVALIDATION_POLICYCREATION_THREAD_HASHCODECREATION_THREAD_IDCREATION_THREAD_NAMEdataRecordinvalidationStateisIsolatedisWrapperkeylastUpdatedQueryIdmapOwnerMAX_WAIT_TRIESobjectprotectedForeignKeysreadTimetransactionIdwrapperwriteLockValue

Constructor Summary

AccessConstructor and Description
public
LinkedCacheKey(Object primaryKey, Object
is the domain object.
object
,
Object
is the write lock value number.
writeLockValue
,
long readTime, boolean isIsolated)

Initialize the newly allocated instance of this class.

Method Summary

Modifier and TypeMethod and Description
public LinkedCacheKey
public LinkedCacheKey
public void
public void
Inherited from org.eclipse.persistence.internal.identitymaps.CacheKey:
acquireacquireacquireDeferredLockacquireIfUnownedNoWaitacquireLockacquireNoWaitacquireNoWaitacquireReadLockacquireReadLockNoWaitacquireWithWaitcheckDeferredLockcheckReadLockcloneequalsequalsgetActiveThreadgetInvalidationStategetKeygetLastUpdatedQueryIdgetObjectgetOwningMapgetProtectedForeignKeysgetReadTimegetRecordgetTransactionIdgetWrappedCacheKeygetWrappergetWriteLockValuehashCodehasProtectedForeignKeysisIsolatedisWrapperreleasereleaseDeferredLockreleaseReadLockremoveFromOwningMapsetInvalidationStatesetIsolatedsetIsWrappersetKeysetLastUpdatedQueryIdsetObjectsetOwningMapsetProtectedForeignKeyssetReadTimesetRecordsetTransactionIdsetWrappersetWriteLockValuetoStringupdateAccesswaitForObject

Field Detail

nextback to summary
protected LinkedCacheKey next

Handle on next element in cache

previousback to summary
protected LinkedCacheKey previous

Handle on previous element in cache

Constructor Detail

LinkedCacheKeyback to summary
public LinkedCacheKey(Object primaryKey, Object object, Object writeLockValue, long readTime, boolean isIsolated)

Initialize the newly allocated instance of this class.

Parameters
object:Object

is the domain object.

writeLockValue:Object

is the write lock value number.

Method Detail

getNextback to summary
public LinkedCacheKey getNext()
getPreviousback to summary
public LinkedCacheKey getPrevious()
setNextback to summary
public void setNext(LinkedCacheKey next)
setPreviousback to summary
public void setPrevious(LinkedCacheKey previous)