|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.tiling.IlvTileCache
public abstract class IlvTileCache
This class is used to manage the cached tiles of one or more tile
controllers. A cached tile is a tile that is not visible in any view
and that is not locked by any application object. An
IlvTileCache object releases the cached tiles to
free memory when necessary.
IlvTileController| Constructor Summary | |
|---|---|
protected |
IlvTileCache()
Initializes an instance of a tile cache. |
| Method Summary | |
|---|---|
abstract void |
controllerDisposed(IlvTileController controller)
This method is called when a controller stops its activity. |
protected void |
releaseTile(IlvTile tile)
Releases a tile. |
abstract void |
tileAboutToLoad(IlvTile tile)
This method is called by a tile controller each time a tile is about to be loaded. |
abstract void |
tileCached(IlvTile tile)
This method is called each time a loaded tile no longer has a lock. |
abstract void |
tileRetrieved(IlvTile tile)
This method is called each time that an unreleased cached tile is locked again. |
void |
write(IlvOutputStream stream)
Writes the cache to an IlvOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected IlvTileCache()
| Method Detail |
|---|
protected void releaseTile(IlvTile tile)
tile - The tile to releasepublic abstract void tileAboutToLoad(IlvTile tile)
tile - The tile that is about to be loadedpublic abstract void tileCached(IlvTile tile)
tile - The tile that has to be cachedpublic abstract void tileRetrieved(IlvTile tile)
tile - The tile that is retrieved from the cache by a tile controllerpublic abstract void controllerDisposed(IlvTileController controller)
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectstream - the output stream
IOException - thrown when an exception occurs during
the write operation for this object.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||