public abstract class AbstractTileCacheStoreProvider extends AbstractRasterStoreProvider implements RasterCacheStoreProvider
Modifier and Type | Field and Description |
---|---|
protected int |
bandsNumber |
protected Envelope |
envelope |
protected RasterStoreProvider |
innerProvider |
protected java.util.Map<java.lang.Integer,java.util.List<PageManager>> |
pageManagersPerZoomLevel |
dimensions, LOG
Constructor and Description |
---|
AbstractTileCacheStoreProvider(DataStoreParameters params,
DataStoreProviderServices storeServices,
DynObject metadata) |
Modifier and Type | Method and Description |
---|---|
void |
apply(RasterStoreProvider provider,
IProjection crs,
RasterQuery query) |
void |
close()
do nothing by default, override this otherwise
|
Buffer |
createBuffer(RasterQuery rasterQuery) |
void |
deleteAll()
Delete cache.
|
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
int |
getBands()
Gets bands of raster provider source
|
BufferDimensions |
getDimensions()
Return the buffer dimensions of the complete store.
|
java.lang.Object |
getDynValue(java.lang.String name) |
DataServerExplorer |
getExplorer()
Create a
DataServerExplorer from the same source that this store. |
java.lang.String |
getFullName()
Returns a more descriptive name for the provider that getName.
|
RasterStoreProvider |
getInnerProvider() |
java.lang.String |
getName()
Returns the name associated to the provider.
|
protected java.util.List<PageManager> |
getPageManagersInZoom(int zoomLevel) |
TileStruct |
getTileStruct()
Return the appropriate TileStruct for a tiled access to this provider, if can.
|
TileStructImage |
getTileStructImage() |
boolean |
isTiled() |
void |
open()
Open store.
|
protected void |
setTileStructImage(TileCacheStructImage tileStructImage) |
autoOpen, clear, createResource, delegate, getBandDescriptor, getBandsDescriptor, getChilds, getDataTypes, getDynClass, getImageLegend, getInterval, getNoData, getNoDatas, getParameters, getStoreServices, getTimes, getTimes, hasDynMethod, hasDynValue, implement, invokeDynMethod, invokeDynMethod, refresh, setDynValue
getChildren, getResourcesStorage, getStoresRepository, setTransaction
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBandDescriptor, getImageLegend, getParameters
getChildren, getInterval, getProviderName, getResource, getResourcesStorage, getSourceId, getStoresRepository, getTimes, getTimes, refresh, setTransaction
hasDynMethod
clear, clone, delegate, getDynClass, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
dispose
protected Envelope envelope
protected java.util.Map<java.lang.Integer,java.util.List<PageManager>> pageManagersPerZoomLevel
protected RasterStoreProvider innerProvider
protected int bandsNumber
public AbstractTileCacheStoreProvider(DataStoreParameters params, DataStoreProviderServices storeServices, DynObject metadata)
params
- storeServices
- metadata
- public Buffer createBuffer(RasterQuery rasterQuery) throws BufferException
createBuffer
in interface RasterStoreProvider
BufferException
public int getBands()
RasterStoreProvider
getBands
in interface RasterStoreProvider
public DataServerExplorer getExplorer() throws ReadException, ValidateDataParametersException
DataStoreProvider
DataServerExplorer
from the same source that this store.ReadException
ValidateDataParametersException
public void open() throws OpenException
DataStoreProvider
OpenException
protected java.util.List<PageManager> getPageManagersInZoom(int zoomLevel)
public java.lang.Object getDynValue(java.lang.String name) throws DynFieldNotFoundException
getDynValue
in interface DynObject
getDynValue
in class AbstractRasterStoreProvider
DynFieldNotFoundException
public TileStruct getTileStruct()
RasterStoreProvider
getTileStruct
in interface RasterStoreProvider
getTileStruct
in class AbstractRasterStoreProvider
protected void setTileStructImage(TileCacheStructImage tileStructImage)
public TileStructImage getTileStructImage()
public void deleteAll()
DataCache
public void close() throws CloseException
AbstractRasterStoreProvider
close
in class AbstractRasterStoreProvider
CloseException
DataStoreProvider.close()
public java.lang.String getName()
DataStoreProvider
public java.lang.String getFullName()
DataStoreProvider
protected void doDispose() throws BaseException
AbstractDisposable
AbstractDisposable.dispose()
method, to be
implemented by child classes.doDispose
in class AbstractRasterStoreProvider
BaseException
AbstractDisposable.dispose()
public void apply(RasterStoreProvider provider, IProjection crs, RasterQuery query) throws DataException
apply
in interface RasterCacheStoreProvider
DataException
public RasterStoreProvider getInnerProvider()
getInnerProvider
in interface RasterCacheStoreProvider
public BufferDimensions getDimensions() throws InitializeException
RasterStoreProvider
getDimensions
in interface RasterStoreProvider
InitializeException
public boolean isTiled()
isTiled
in interface RasterStoreProvider
isTiled
in class AbstractRasterStoreProvider