public class CacheTileDataSource extends TileDataSource
swigCMemOwn| Modifier | Constructor and Description |
|---|---|
|
CacheTileDataSource(long cPtr,
boolean cMemoryOwn) |
protected |
CacheTileDataSource(TileDataSource dataSource) |
| 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(CacheTileDataSource obj) |
void |
notifyTilesChanged(boolean removeTiles)
Notifies listeners that the tiles have changed.
|
void |
setCapacity(long capacity)
Sets the cache capacity.
|
static CacheTileDataSource |
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, getMaxZoom, getMinZoom, getProjection, loadTilepublic CacheTileDataSource(long cPtr,
boolean cMemoryOwn)
protected CacheTileDataSource(TileDataSource dataSource)
public static long getCPtr(CacheTileDataSource obj)
protected void finalize()
finalize in class TileDataSourcepublic void delete()
delete in class TileDataSourceprotected void swigDirectorDisconnect()
swigDirectorDisconnect in class TileDataSourcepublic void swigReleaseOwnership()
swigReleaseOwnership in class TileDataSourcepublic void swigTakeOwnership()
swigTakeOwnership in class TileDataSourcepublic static CacheTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public void notifyTilesChanged(boolean removeTiles)
TileDataSourcenotifyTilesChanged in class TileDataSourceremoveTiles - The remove tiles flag.public void clear()
public long getCapacity()
public void setCapacity(long capacity)
public java.lang.String swigGetClassName()
swigGetClassName in class TileDataSourcepublic java.lang.Object swigGetDirectorObject()
swigGetDirectorObject in class TileDataSource