Changeset 31055 in osm for applications/viewer/jmapviewer
- Timestamp:
- 2015-03-08T00:39:48+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/OsmFileCacheTileLoader.java
r31054 r31055 51 51 // Default expire time (i.e. maximum age of cached tile before refresh). 52 52 // Used when the server does not send an expires or max-age value in the http header. 53 protected static final long DEFAULT_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 7; // 7 days53 protected static final long DEFAULT_EXPIRE_TIME = 1000L * 60 * 60 * 24 * 7; // 7 days 54 54 // Limit for the max-age value send by the server. 55 protected static final long EXPIRE_TIME_SERVER_LIMIT = 1000 * 60 * 60 * 24 * 28; // 4 weeks55 protected static final long EXPIRE_TIME_SERVER_LIMIT = 1000L * 60 * 60 * 24 * 28; // 4 weeks 56 56 // Absolute expire time limit. Cached tiles that are older will not be used, 57 57 // even if the refresh from the server fails.
Note:
See TracChangeset
for help on using the changeset viewer.