FileDocCategorySizeDatePackage
LinkedCacheKey.javaAPI DocGlassfish v2 API3202Tue May 22 16:54:36 BST 2007oracle.toplink.essentials.internal.identitymaps

LinkedCacheKey

public class LinkedCacheKey extends CacheKey

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

Responsibilities:

  • Provide same cabailities as superclass.
  • Maintain within linked list.
see
CacheIdentityMap
since
TOPLink/Java 1.0

Fields Summary
protected LinkedCacheKey
previous
Handle on previos element in cache
protected LinkedCacheKey
next
Handle on next element in cache
Constructors Summary
public LinkedCacheKey(Vector primaryKey, Object object, Object writeLockValue, long readTime)
Initialize the newly allocated instance of this class.

param
object is the domain object.
param
writeLockValue is the write lock value number.

        super(primaryKey, object, writeLockValue, readTime);
    
Methods Summary
public oracle.toplink.essentials.internal.identitymaps.LinkedCacheKeygetNext()

        return next;
    
public oracle.toplink.essentials.internal.identitymaps.LinkedCacheKeygetPrevious()

        return previous;
    
public voidsetNext(oracle.toplink.essentials.internal.identitymaps.LinkedCacheKey next)

        this.next = next;
    
public voidsetPrevious(oracle.toplink.essentials.internal.identitymaps.LinkedCacheKey previous)

        this.previous = previous;