Class CacheEntry
- Namespace
- DotCompute.Core.Models
- Assembly
- DotCompute.Core.dll
Represents a cached kernel entry.
public class CacheEntry
- Inheritance
-
CacheEntry
- Inherited Members
Properties
AccessCount
Gets or sets the number of times this entry has been accessed.
public int AccessCount { get; set; }
Property Value
CreatedAt
Gets or sets when the entry was created.
public DateTimeOffset CreatedAt { get; set; }
Property Value
IsExpired
Gets whether this entry has expired.
public bool IsExpired { get; }
Property Value
IsPinned
Gets or sets whether this entry is pinned in cache.
public bool IsPinned { get; set; }
Property Value
Kernel
Gets or sets the cached kernel.
public CompiledKernel? Kernel { get; set; }
Property Value
Key
Gets or sets the cache key.
public string Key { get; set; }
Property Value
LastAccessedAt
Gets or sets when the entry was last accessed.
public DateTimeOffset LastAccessedAt { get; set; }
Property Value
SizeInBytes
Gets or sets the size of the cached data in bytes.
public long SizeInBytes { get; set; }
Property Value
TimeToLive
Gets or sets the time-to-live for this entry.
public TimeSpan? TimeToLive { get; set; }