Interface ICachedLoaderListener
-
- All Known Implementing Classes:
MapboxVectorCachedTileLoaderJob,TMSCachedTileLoaderJob,WMSCachedTileLoaderJob
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ICachedLoaderListener
Cache loader listener.- Since:
- 8168, 10600 (functional interface)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classICachedLoaderListener.LoadResultResult of download
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidloadingFinished(CacheEntry data, CacheEntryAttributes attributes, ICachedLoaderListener.LoadResult result)Will be called when K object processed.
-
-
-
Method Detail
-
loadingFinished
void loadingFinished(CacheEntry data, CacheEntryAttributes attributes, ICachedLoaderListener.LoadResult result)
Will be called when K object processed. The result might be: LoadResult.SUCCESS when object was fetched LoadResult.FAILURE when there was a failure during download LoadResult.REJECTED when job was rejected because of full queue- Parameters:
data- cache entry contentsattributes- cache entry attributesresult- load result (success, failure, canceled)
-
-