org.apache.batik.ext.awt.image.rendered
Class TileLRUMember
public
class
TileLRUMember
extends Object
implements LRUCache.LRUObj
This is a useful class that wraps a Raster for patricipation in
an LRU Cache. When this object drops out of the LRU cache it
removes it's hard reference to the tile, but retains it's soft
reference allowing for the recovery of the tile when the JVM is
not under memory pressure
protected Raster hRaster
protected Reference wRaster
public TileLRUMember()
public TileLRUMember(Raster ras)
public boolean checkRaster()
public void lruRemove()
public Raster retrieveRaster()
public void setRaster(Raster ras)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.