16typedef struct _LDServerLazyLoadBuilder* LDServerLazyLoadBuilder;
18typedef struct _LDServerLazyLoadSourcePtr* LDServerLazyLoadSourcePtr;
30 LD_LAZYLOAD_CACHE_EVICTION_POLICY_DISABLED = 0
48LD_EXPORT(LDServerLazyLoadBuilder)
69 LDServerLazyLoadSourcePtr source);
80 unsigned int milliseconds);
Export macros for C bindings.
LDServerLazyLoadBuilder_New()
Definition builder.cpp:290
LDServerLazyLoadBuilder_SourcePtr(LDServerLazyLoadBuilder b, LDServerLazyLoadSourcePtr source)
Definition builder.cpp:300
LDServerLazyLoadBuilder_CachePolicy(LDServerLazyLoadBuilder b, enum LDLazyLoadCacheEvictionPolicy policy)
Specify the eviction policy when a data item's TTL expires. At this time, only LD_LAZYLOAD_CACHE_EVIC...
Definition builder.cpp:321
LDServerLazyLoadBuilder_Free(LDServerLazyLoadBuilder b)
Frees the memory associated with a Lazy Load builder. Do not call if the builder was consumed by the ...
Definition builder.cpp:295
LDLazyLoadCacheEvictionPolicy
Specifies the action taken when a data item within the in-memory cache expires.
Definition lazy_load_builder.h:27
LDServerLazyLoadBuilder_CacheRefreshMs(LDServerLazyLoadBuilder b, unsigned int milliseconds)
Specify the duration data items should live in-memory before requiring a refresh via the database....
Definition builder.cpp:313