private class OsmApi.CapabilitiesCache extends CacheCustomContent<OsmTransferException>
Modifier and Type | Field and Description |
---|---|
private static String |
CAPABILITIES |
private boolean |
fastFail |
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 String CAPABILITIES
private final ProgressMonitor monitor
private final boolean fastFail
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