001// License: GPL. For details, see Readme.txt file. 002package org.openstreetmap.gui.jmapviewer.interfaces; 003 004/** 005 * Interface for implementing a tile loading job. Tiles are usually loaded via HTTP 006 * or from a file. 007 * 008 * @author Dirk Stöcker 009 */ 010public interface TileJob extends Runnable { 011 012 /** 013 * submits download job to backend. 014 */ 015 void submit(); 016 017 /** 018 * submits download job to backend. 019 * @param force true if the load should skip all the caches (local & remote) 020 */ 021 void submit(boolean force); 022}