public abstract class AbstractTileCacheStructImage extends AbstractDisposable implements TileCacheStructImage
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractTileCacheStructImage.Tile |
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
bandNumber |
protected java.lang.Object |
colorInterpretation |
protected java.lang.Object |
colorTable |
protected int[] |
dataTypes |
protected RasterStoreProvider |
innerProvider |
protected java.lang.Object |
legend |
protected RasterQuery |
query |
protected java.util.Map<java.lang.String,AbstractTileCacheStructImage.Tile> |
recentAccededTiles |
protected TileStruct |
tileStruct |
Constructor and Description |
---|
AbstractTileCacheStructImage(RasterStoreProvider innerProvider,
RasterQuery query) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
composeKeyForRecentTiles(int zoomLevel,
int structRow,
int structCol) |
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
protected void |
fillStoreInfo() |
void |
forgetCache()
Clear previous cache.
|
int |
getBandNumber() |
java.lang.Object |
getColorInterpretation() |
java.lang.Object |
getColorTable() |
int |
getColumns(int zoomLevel) |
int |
getColumnsPerTile() |
int[] |
getDataTypes() |
Envelope |
getEnvelope() |
java.lang.Object |
getLegend() |
java.lang.String |
getProviderName() |
int |
getRows(int zoomLevel) |
int |
getRowsPerTile() |
int |
getZoomLvlForPixelSize(double pixelSize) |
protected void |
removeOlderTile() |
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fetchTile, getTileStruct
protected RasterStoreProvider innerProvider
protected RasterQuery query
protected TileStruct tileStruct
protected java.lang.Object colorInterpretation
protected java.lang.Object legend
protected java.lang.Object colorTable
protected java.util.Map<java.lang.String,AbstractTileCacheStructImage.Tile> recentAccededTiles
protected java.lang.Integer bandNumber
protected int[] dataTypes
public AbstractTileCacheStructImage(RasterStoreProvider innerProvider, RasterQuery query)
innerProvider
- query
- public int getZoomLvlForPixelSize(double pixelSize)
getZoomLvlForPixelSize
in interface TileStructImage
pixelSize
- protected void fillStoreInfo()
java.lang.CloneNotSupportedException
ValidateDataParametersException
DynMethodException
DataException
BufferException
CreateEnvelopeException
public int getBandNumber()
getBandNumber
in interface TileStructImage
public int[] getDataTypes()
getDataTypes
in interface TileStructImage
public int getRows(int zoomLevel)
getRows
in interface TileStructImage
public int getColumns(int zoomLevel)
getColumns
in interface TileStructImage
public Envelope getEnvelope()
getEnvelope
in interface TileStructImage
public int getRowsPerTile()
getRowsPerTile
in interface TileStructImage
public int getColumnsPerTile()
getColumnsPerTile
in interface TileStructImage
public java.lang.String getProviderName()
getProviderName
in interface TileStructImage
protected java.lang.String composeKeyForRecentTiles(int zoomLevel, int structRow, int structCol)
protected void removeOlderTile()
public java.lang.Object getColorInterpretation()
getColorInterpretation
in interface TileStructImage
public java.lang.Object getColorTable()
getColorTable
in interface TileStructImage
public java.lang.Object getLegend()
getLegend
in interface TileStructImage
public void forgetCache()
TileCacheStructImage
forgetCache
in interface TileCacheStructImage
protected void doDispose() throws BaseException
AbstractDisposable
AbstractDisposable.dispose()
method, to be
implemented by child classes.doDispose
in class AbstractDisposable
BaseException
AbstractDisposable.dispose()