public final class MemoryTile extends Object implements javax.media.jai.CachedTile
This class is used by SwappingTileCache to create an object that
includes all the information associated with a tile, and is put
into the tile cache.
The implementation is based on the Sun Microsystems' implementation of
the javax.media.jai.CachedTile interface.
| Modifier and Type | Method and Description |
|---|---|
int |
getAction()
Returns information about the method that
triggered the notification event.
|
Object |
getKey() |
String |
getKeyAsString() |
RenderedImage |
getOwner()
Returns the owner of the cached tile.
|
Raster |
getTile()
Returns the cached tile.
|
Object |
getTileCacheMetric()
Returns the tileCacheMetric object
|
long |
getTileSize()
Returns the tile memory size
|
long |
getTileTimeStamp()
Returns the current time stamp
|
int |
getTileX() |
int |
getTileY() |
static Object |
hashKey(RenderedImage owner,
int tileX,
int tileY) |
String |
toString()
Returns a string representation of the class object.
|
public int getTileX()
public int getTileY()
public Object getKey()
public static Object hashKey(RenderedImage owner, int tileX, int tileY)
public String toString()
public String getKeyAsString()
public Raster getTile()
getTile in interface javax.media.jai.CachedTilepublic RenderedImage getOwner()
getOwner in interface javax.media.jai.CachedTilepublic long getTileTimeStamp()
getTileTimeStamp in interface javax.media.jai.CachedTilepublic Object getTileCacheMetric()
getTileCacheMetric in interface javax.media.jai.CachedTilepublic long getTileSize()
getTileSize in interface javax.media.jai.CachedTilepublic int getAction()
getAction in interface javax.media.jai.CachedTileCopyright © 2014–2015 European Space Agency (ESA). All rights reserved.