mondrian.rolap.cache
Class SoftSmartCache.CacheReference

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.SoftReference<V>
          extended by mondrian.rolap.cache.SoftSmartCache.CacheReference
Enclosing class:
SoftSmartCache<K,V>

 class SoftSmartCache.CacheReference
extends SoftReference<V>

an entry in the cache that contains the key for the cache map to remove the entry when its value has been garbage collected

Since:
Nov 7, 2005
Author:
rk

Field Summary
(package private)  K key
           
 
Constructor Summary
SoftSmartCache.CacheReference(K key, V value)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.ref.SoftReference
get
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

K key
Constructor Detail

SoftSmartCache.CacheReference

public SoftSmartCache.CacheReference(K key,
                                     V value)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads