private class OsmApi.CapabilitiesCache extends CacheCustomContent<OsmTransferException>
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CAPABILITIES |
(package private) boolean |
fastFail |
(package private) ProgressMonitor |
monitor |
INTERVAL_ALWAYS, INTERVAL_DAILY, INTERVAL_HOURLY, INTERVAL_MONTHLY, INTERVAL_NEVER, INTERVAL_WEEKLY
Constructor and Description |
---|
CapabilitiesCache(ProgressMonitor monitor,
boolean fastFail) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkOfflineAccess() |
protected byte[] |
updateData()
This function will be executed when an update is required.
|
flushData, getData, getDataString, isCacheValid, updateForce, updateForceString, updateIfRequired, updateIfRequiredString
private static final java.lang.String CAPABILITIES
ProgressMonitor monitor
boolean fastFail
public CapabilitiesCache(ProgressMonitor monitor, boolean fastFail)
protected void checkOfflineAccess()
checkOfflineAccess
in class CacheCustomContent<OsmTransferException>
protected byte[] updateData() throws OsmTransferException
CacheCustomContent
updateData
in class CacheCustomContent<OsmTransferException>
OsmTransferException