public final class CachedTileImpl extends Object implements javax.media.jai.CachedTile
Constructor and Description |
---|
CachedTileImpl(RenderedImage owner,
int tileX,
int tileY,
Raster tile,
Object tileCacheMetric)
Constructor that takes a tile cache metric
|
Modifier and Type | Method and Description |
---|---|
int |
getAction()
Returns information about the status of the tile
|
Object |
getImageKey()
Returns the key associate to the tile owner
|
Object |
getKey()
Returns the key associated to the tile.
|
RenderedImage |
getOwner()
Returns the owner of the cached tile.
|
Raster |
getTile()
Returns the value of the cached tile.
|
Object |
getTileCacheMetric()
Returns the tileCacheMetric object
|
long |
getTileSize()
Returns the tile memory size
|
long |
getTileTimeStamp()
Returns the current time stamp
|
static Object |
hashKey(RenderedImage owner)
Returns the hash table "key" as a
Object for this image. |
static Object |
hashKey(RenderedImage owner,
int tileX,
int tileY)
Returns the hash table "key" as a
Object for this tile. |
void |
setAction(ConcurrentTileCache.Actions newAction)
Sets the status of the tile
|
void |
updateTileTimeStamp()
Sets the timestamp to the new current value
|
public CachedTileImpl(RenderedImage owner, int tileX, int tileY, Raster tile, Object tileCacheMetric)
public Object getKey()
public Object getImageKey()
public static Object hashKey(RenderedImage owner, int tileX, int tileY)
Object
for this tile.public static Object hashKey(RenderedImage owner)
Object
for this image.public Raster getTile()
getTile
in interface javax.media.jai.CachedTile
public RenderedImage getOwner()
getOwner
in interface javax.media.jai.CachedTile
public long getTileTimeStamp()
getTileTimeStamp
in interface javax.media.jai.CachedTile
public Object getTileCacheMetric()
getTileCacheMetric
in interface javax.media.jai.CachedTile
public long getTileSize()
getTileSize
in interface javax.media.jai.CachedTile
public int getAction()
getAction
in interface javax.media.jai.CachedTile
public void setAction(ConcurrentTileCache.Actions newAction)
public void updateTileTimeStamp()
Copyright © 2006–2016 GeoSolutions. All rights reserved.