public class WMSCachedTileLoaderJob extends TMSCachedTileLoaderJob
ICachedLoaderListener.LoadResultCDATA_PATTERN, JSON_PATTERN, MAXIMUM_EXPIRES, MINIMUM_EXPIRES, SERVICE_EXCEPTION_PATTERN, tileABSOLUTE_EXPIRE_TIME_LIMIT, attributes, cacheData, DEFAULT_EXPIRE_TIME, EXPIRE_TIME_SERVER_LIMIT, now, THREAD_LIMIT| Constructor and Description |
|---|
WMSCachedTileLoaderJob(TileLoaderListener listener,
Tile tile,
org.apache.commons.jcs.access.behavior.ICacheAccess<java.lang.String,BufferedImageCacheEntry> cache,
TileJobOptions options,
java.util.concurrent.ThreadPoolExecutor downloadExecutor)
Creates a job - that will download specific tile
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCacheKey()
returns cache entry key
|
cacheAsEmpty, createCacheEntry, detectErrorMessage, getServerKey, getUrl, isObjectLoadable, isResponseLoadable, loadingFinished, parseHeaders, submit, submitcancelOutstandingTasks, executionFinished, get, handleJobCancellation, isCacheElementValid, run, setFinishedTask, submitpublic WMSCachedTileLoaderJob(TileLoaderListener listener, Tile tile, org.apache.commons.jcs.access.behavior.ICacheAccess<java.lang.String,BufferedImageCacheEntry> cache, TileJobOptions options, java.util.concurrent.ThreadPoolExecutor downloadExecutor)
listener - will be notified, when tile has loadedtile - to loadcache - to use (get/put)options - options for tile jobdownloadExecutor - that will execute the download task (if needed)public java.lang.String getCacheKey()
ICachedLoaderJobgetCacheKey in interface ICachedLoaderJob<java.lang.String>getCacheKey in class TMSCachedTileLoaderJob