-
- All Implemented Interfaces:
-
java.lang.Runnable
public abstract class MapTileModuleProviderBase.TileLoader implements Runnable
Load the requested tile. An abstract internal class whose objects are used by worker threadsto acquire tiles from servers. It processes tiles from the 'pending' set to the 'working' setas they become available. The key unimplemented method is 'loadTile'.
-
-
Method Summary
Modifier and Type Method Description abstract DrawableloadTile(long pMapTileIndex)Actual load of the requested tile. DrawableloadTileIfReachable(long pMapTileIndex)final voidrun()This is a functor class of type Runnable. -
-
Method Detail
-
loadTile
abstract Drawable loadTile(long pMapTileIndex)
Actual load of the requested tile.Do implement this method, but call loadTileIfReachable instead
-
loadTileIfReachable
Drawable loadTileIfReachable(long pMapTileIndex)
-
run
final void run()
This is a functor class of type Runnable. The run method is the encapsulated function.
-
-
-
-