public abstract class IlvDataTileCache extends Object
IlvDataTileCache
subclasses must implement a strategy to
keep/release cached tiles.IlvDataTileController
Modifier | Constructor and Description |
---|---|
protected |
IlvDataTileCache()
Initializes an instance of a tile cache.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
controllerDisposed(IlvDataTileController controller)
Invoked when a tile controller stops its activity.
|
protected void |
releaseTile(IlvDataTile tile)
Releases a tile.
|
abstract void |
tileAboutToLoad(IlvDataTile tile)
Invoked by a tile controller whenever a tile is about to be loaded.
|
abstract void |
tileCached(IlvDataTile tile)
Invoked by a tile controller whenever a loaded tile is no
longer locked.
|
abstract void |
tileRetrieved(IlvDataTile tile)
Invoked by a tile controller whenever a cached tile
is locked again.
|
protected IlvDataTileCache()
protected void releaseTile(IlvDataTile tile)
controllerDisposed(ilog.views.chart.data.lod.IlvDataTileController)
method
is called. In that case the controller takes care of releasing the
tiles. When this method is called, the controller fires a
DataTileEvent.TILE_RELEASED
event and calls the
IlvDataTileLoader.release(ilog.views.chart.data.lod.IlvDataTile)
method.tile
- The tile to release.public abstract void tileAboutToLoad(IlvDataTile tile)
Note about multi-threading: This method must only be called while the tile's controller is locked.
tile
- The tile that is about to be loaded.public abstract void tileCached(IlvDataTile tile)
Note about multi-threading: This method must only be called while the tile's controller is locked.
tile
- The tile that has to be cached.public abstract void tileRetrieved(IlvDataTile tile)
Note about multi-threading: This method must only be called while the tile's controller is locked.
tile
- The tile that must be retrieved from
the cache.public abstract void controllerDisposed(IlvDataTileController controller)
Note about multi-threading: This method must only be called while the controller is locked.
controller
- The disposed controller.releaseTile(ilog.views.chart.data.lod.IlvDataTile)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.