Class CacheEntry
- Namespace
- Akavache
- Assembly
- Akavache.dll
Represents an entry in a memory cache.
public class CacheEntry
- Inheritance
-
CacheEntry
- Extension Methods
Constructors
CacheEntry()
public CacheEntry()
Properties
CreatedAt
Gets or sets the date and time when the cache entry was created.
public DateTimeOffset CreatedAt { get; set; }
Property Value
ExpiresAt
Gets or sets the date and time when the cache entry will expire.
[Indexed]
public DateTimeOffset? ExpiresAt { get; set; }
Property Value
Id
Gets or sets the unique identifier for the cache entry.
[PrimaryKey]
[Unique]
public string? Id { get; set; }
Property Value
TypeName
Gets or sets the type name associated with the cache entry.
[Indexed]
public string? TypeName { get; set; }
Property Value
Value
Gets or sets the serialized value stored in the cache entry.
public byte[]? Value { get; set; }
Property Value
- byte[]