namespace RethinkDB.DistributedCache /// Persistence object for a cache entry [] type CacheEntry = { /// The ID for the cache entry id : string /// The payload for the cache entry (as a UTF-8 string) payload : string /// The ticks at which this entry expires expiresAt : int64 /// The number of ticks in the sliding expiration slidingExp : int64 /// The ticks for absolute expiration absoluteExp : int64 } /// Field names for the above [] module private CacheEntry = [] let expiresAt = "expiresAt" [] let slidingExp = "slidingExp" [] let absoluteExp = "absoluteExp"