public class WMSCachedTileLoader extends TMSCachedTileLoader
| Modifier and Type | Field and Description |
|---|---|
static IntegerProperty |
THREAD_LIMIT
overrides the THREAD_LIMIT in superclass, as we want to have separate limit and pool for WMS
|
cache, HOST_LIMIT, listener, options| Constructor and Description |
|---|
WMSCachedTileLoader(TileLoaderListener listener,
org.apache.commons.jcs.access.behavior.ICacheAccess<java.lang.String,BufferedImageCacheEntry> cache,
TileJobOptions options)
Creates a TileLoader with separate WMS download thread pool.
|
| Modifier and Type | Method and Description |
|---|---|
TileJob |
createTileLoaderJob(Tile tile)
A typical implementation of this function should create and return a
new
TileJob instance that performs the load action. |
cancelOutstandingTasks, clearCache, getDownloadExecutor, getNewThreadPoolExecutor, getNewThreadPoolExecutor, getNewThreadPoolExecutor, getStats, hasOutstandingTasks, setDownloadExecutorpublic static final IntegerProperty THREAD_LIMIT
public WMSCachedTileLoader(TileLoaderListener listener, org.apache.commons.jcs.access.behavior.ICacheAccess<java.lang.String,BufferedImageCacheEntry> cache, TileJobOptions options)
listener - that will be notified when tile is loadedcache - referenceoptions - tile job optionspublic TileJob createTileLoaderJob(Tile tile)
TileLoaderTileJob instance that performs the load action.createTileLoaderJob in interface TileLoadercreateTileLoaderJob in class TMSCachedTileLoadertile - the tile to be loadedTileJob implementation that performs the desired load
action.