6 #ifndef SWIFT_CORE_DATA_DBCACHES
7 #define SWIFT_CORE_DATA_DBCACHES
29 static const char *
key() {
return "dbmodelcache"; }
36 static constexpr
bool isPinned() {
return true; }
39 static const char *
key() {
return "dbdistributorcache"; }
49 static const char *
key() {
return "dbliverycache"; }
59 static const char *
key() {
return "dbairlineicaocache"; }
69 static const char *
key() {
return "dbaircrafticaocache"; }
76 static constexpr
bool isPinned() {
return true; }
79 static const char *
key() {
return "dbcountrycache"; }
86 static constexpr
bool isPinned() {
return true; }
89 static const char *
key() {
return "dbaircraftcategorycache"; }
99 static const char *
key() {
return "dbairportcache"; }
109 static const char *
key() {
return "dbicaoreaderurl"; }
119 static const char *
key() {
return "dbmodelreaderurl"; }
Core data traits (aka cached values) and classes.
static const char * key()
Key in data cache.
static constexpr bool isPinned()
First load is synchronous, countries is a small cache.
Trait for DB aircraft ICAO codes.
static const char * key()
Key in data cache.
static constexpr bool isDeferred()
Defer loading.
Trait for DB airline ICAO codes.
static const char * key()
Key in data cache.
static constexpr bool isDeferred()
Defer loading.
static const char * key()
Key in data cache.
static constexpr bool isDeferred()
Defer loading.
static constexpr bool isPinned()
First load is synchronous, countries is a small cache.
static const char * key()
Key in data cache.
Trait for DB distributor cache.
static const char * key()
Key in data cache.
static constexpr bool isPinned()
First load is synchronous, distributors is a small cache.
Trait for ICAO reader base URL.
static constexpr bool isPinned()
First load is synchronous.
static const char * key()
Key in data cache.
static constexpr bool isDeferred()
Defer loading.
static const char * key()
Key in data cache.
Trait for DB model cache.
static const char * key()
Key in data cache.
static constexpr bool isDeferred()
Defer loading.
Trait for ICAO reader base URL.
static const char * key()
Key in data cache.
static constexpr bool isPinned()
First load is synchronous.
Base class for traits to be used as template argument to swift::misc::CData.