Package com.bc.ceres.jai.tilecache
Class DefaultSwapSpace
- java.lang.Object
-
- com.bc.ceres.jai.tilecache.DefaultSwapSpace
-
-
Constructor Summary
Constructors Constructor Description DefaultSwapSpace(File swapDir)
DefaultSwapSpace(File swapDir, Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deleteTile(RenderedImage owner, int tileX, int tileY)
protected void
finalize()
protected MemoryTile
handleTileRestoreFailed(RenderedImage owner, int tileX, int tileY, IOException e)
protected void
handleTileStoreFailed(MemoryTile mt, IOException e)
MemoryTile
restoreTile(RenderedImage owner, int tileX, int tileY)
boolean
storeTile(MemoryTile mt)
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
storeTile
public boolean storeTile(MemoryTile mt)
-
restoreTile
public MemoryTile restoreTile(RenderedImage owner, int tileX, int tileY)
- Specified by:
restoreTile
in interfaceSwapSpace
-
deleteTile
public boolean deleteTile(RenderedImage owner, int tileX, int tileY)
- Specified by:
deleteTile
in interfaceSwapSpace
-
handleTileStoreFailed
protected void handleTileStoreFailed(MemoryTile mt, IOException e)
-
handleTileRestoreFailed
protected MemoryTile handleTileRestoreFailed(RenderedImage owner, int tileX, int tileY, IOException e)
-
-