Class DirectionalCacheKey
- java.lang.Object
-
- net.sf.basedb.util.overview.cache.DirectionalCacheKey
-
public class DirectionalCacheKey extends Object
Cache key implementation that bundles another cache key with a node direction. The reason is that the node tree looks very different for the same item depending on the direction the item is loaded.- Version:
- 2.10
- Author:
- Nicklas
- Last modified
- $Date: 2009-02-18 14:26:21 +0100 (on, 18 feb 2009) $
-
-
Field Summary
Fields Modifier and Type Field Description private Object
cacheKey
private ChildNodeDirection
direction
-
Constructor Summary
Constructors Constructor Description DirectionalCacheKey(Object cacheKey, ChildNodeDirection direction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
Object
unwrap()
Get the original cache key passed to the constructor.
-
-
-
Field Detail
-
cacheKey
private final Object cacheKey
-
direction
private final ChildNodeDirection direction
-
-
Constructor Detail
-
DirectionalCacheKey
public DirectionalCacheKey(Object cacheKey, ChildNodeDirection direction)
-
-