ae v0.0.2728 (2020-08-02T06:18:06Z)
Home
Dub
Repo
FileCache
ae
sys
persistence
core
Undocumented in source.
struct
FileCache (
alias
DataGetter
alias
DataPutter
=
None
FlushPolicy
flushPolicy
=
FlushPolicy
.
none
LoadPolicy
loadPolicy
=
LoadPolicy
.
automatic
) {
string
fileName
;
static if
(
loadPolicy == LoadPolicy.automatic
)
enum
_FileCache_loadPolicy
;
static if
(!(
loadPolicy == LoadPolicy.automatic
))
enum
_FileCache_loadPolicy
;
ReturnType
!
DataGetter
_FileCache_dataGetter
();
alias
_FileCache_dataPutter
=
None
;
static if
(!(
is(DataPutter == None)
))
void
_FileCache_dataPutter
(T t);
import
std
.
datetime
:
SysTime
;
;
static if
(
_FileCache_loadPolicy == LoadPolicy.onModification
)
SysTime
_FileCache_keyGetter
();
static if
(!(
_FileCache_loadPolicy == LoadPolicy.onModification
))
bool
_FileCache_keyGetter
();
mixin
CacheCore
!(
_FileCache_dataGetter
,
_FileCache_keyGetter
,
_FileCache_dataPutter
,
flushPolicy
)
;
}
Members
Aliases
_FileCache_dataPutter
alias
_FileCache_dataPutter
=
None
Undocumented in source.
Functions
_FileCache_dataGetter
ReturnType
!
DataGetter
_FileCache_dataGetter
()
Undocumented in source. Be warned that the author may not have intended to support it.
_FileCache_dataPutter
void
_FileCache_dataPutter
(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
_FileCache_keyGetter
SysTime
_FileCache_keyGetter
()
Undocumented in source. Be warned that the author may not have intended to support it.
_FileCache_keyGetter
bool
_FileCache_keyGetter
()
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
_FileCache_loadPolicy
enum
_FileCache_loadPolicy
;
Undocumented in source.
_FileCache_loadPolicy
enum
_FileCache_loadPolicy
;
Undocumented in source.
Mixins
__anonymous
mixin
CacheCore
!(
_FileCache_dataGetter
,
_FileCache_keyGetter
,
_FileCache_dataPutter
,
flushPolicy
)
Undocumented in source.
Variables
fileName
string
fileName
;
Undocumented in source.
Meta
Source
See Implementation
ae
sys
persistence
core
enums
FlushPolicy
LoadPolicy
functions
delayed
manifest constants
filesystemTimestampGranularity
mixin templates
CacheCore
structs
FileCache
None