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, loadTile
public CacheTileDataSource(long cPtr, boolean cMemoryOwn)
protected CacheTileDataSource(TileDataSource dataSource)
public static long getCPtr(CacheTileDataSource obj)
protected void finalize()
finalize
in class TileDataSource
public void delete()
delete
in class TileDataSource
protected void swigDirectorDisconnect()
swigDirectorDisconnect
in class TileDataSource
public void swigReleaseOwnership()
swigReleaseOwnership
in class TileDataSource
public void swigTakeOwnership()
swigTakeOwnership
in class TileDataSource
public static CacheTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public void notifyTilesChanged(boolean removeTiles)
TileDataSource
notifyTilesChanged
in class TileDataSource
removeTiles
- The remove tiles flag.public void clear()
public long getCapacity()
public void setCapacity(long capacity)
public java.lang.String swigGetClassName()
swigGetClassName
in class TileDataSource
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class TileDataSource