Last change
on this file since 8344 was 8344, checked in by bastiK, 9 years ago |
applied #10454 - Mapbox "empty" tile (imagery with zoom level > 17) (patch by wiktorn)
|
File size:
711 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.cache;
|
---|
3 |
|
---|
4 | public interface ICachedLoaderListener {
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Result of download
|
---|
8 | *
|
---|
9 | */
|
---|
10 | enum LoadResult {
|
---|
11 | SUCCESS,
|
---|
12 | FAILURE,
|
---|
13 | REJECTED
|
---|
14 | }
|
---|
15 | /**
|
---|
16 | * Will be called when K object processed. The result might be:
|
---|
17 | * LoadResult.SUCCESS when object was fetched
|
---|
18 | * LoadResult.FAILURE when there was a failure during download
|
---|
19 | * LoadResult.REJECTED when job was rejected because of full queue
|
---|
20 | *
|
---|
21 | * @param data
|
---|
22 | * @param attributes
|
---|
23 | * @param result
|
---|
24 | */
|
---|
25 | public void loadingFinished(CacheEntry data, CacheEntryAttributes attributes, LoadResult result);
|
---|
26 |
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.