org.apache.jackrabbit.spi
Class ItemInfoCache.Entry<T extends ItemInfo>

java.lang.Object
  extended by org.apache.jackrabbit.spi.ItemInfoCache.Entry<T>
Type Parameters:
T - Either a NodeInfo or a PropertyInfo.
Enclosing interface:
ItemInfoCache

public static class ItemInfoCache.Entry<T extends ItemInfo>
extends Object

This class represents a cache entry.


Field Summary
 long generation
          The generation
 T info
          The ItemInfo
 
Constructor Summary
ItemInfoCache.Entry(T info, long generation)
          Create a new cache entry containing info with a given generation.
 
Method Summary
 boolean equals(Object that)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

public final T extends ItemInfo info
The ItemInfo


generation

public final long generation
The generation

Constructor Detail

ItemInfoCache.Entry

public ItemInfoCache.Entry(T info,
                           long generation)
Create a new cache entry containing info with a given generation.

Parameters:
info -
generation -
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object that)
Overrides:
equals in class Object


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.