public class CompressedCacheTileDataSource extends CacheTileDataSource
swigCMemOwn
Constructor and Description |
---|
CompressedCacheTileDataSource(long cPtr,
boolean cMemoryOwn) |
CompressedCacheTileDataSource(TileDataSource dataSource)
Constructs a CompressedCacheTileDataSource object from tile data source.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the cache.
|
void |
delete() |
protected void |
finalize() |
long |
getCapacity()
Returns the compressed tile cache capacity.
|
static long |
getCPtr(CompressedCacheTileDataSource obj) |
TileData |
loadTile(MapTile mapTile)
Loads the specified tile.
|
void |
setCapacity(long capacity)
Sets the cache capacity.
|
static CompressedCacheTileDataSource |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
protected void |
swigDirectorDisconnect() |
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
getCPtr, notifyTilesChanged
getCPtr, getMaxZoom, getMinZoom, getProjection
public CompressedCacheTileDataSource(long cPtr, boolean cMemoryOwn)
public CompressedCacheTileDataSource(TileDataSource dataSource)
dataSource
- The datasource to be cached.public static long getCPtr(CompressedCacheTileDataSource obj)
protected void finalize()
finalize
in class CacheTileDataSource
public void delete()
delete
in class CacheTileDataSource
protected void swigDirectorDisconnect()
swigDirectorDisconnect
in class CacheTileDataSource
public void swigReleaseOwnership()
swigReleaseOwnership
in class CacheTileDataSource
public void swigTakeOwnership()
swigTakeOwnership
in class CacheTileDataSource
public static CompressedCacheTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public TileData loadTile(MapTile mapTile)
TileDataSource
loadTile
in class TileDataSource
mapTile
- The tile to load.public void clear()
CacheTileDataSource
clear
in class CacheTileDataSource
public long getCapacity()
CacheTileDataSource
getCapacity
in class CacheTileDataSource
public void setCapacity(long capacity)
CacheTileDataSource
setCapacity
in class CacheTileDataSource
public java.lang.String swigGetClassName()
swigGetClassName
in class CacheTileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class CacheTileDataSource