Struct CacheEntrySnapshot
Snapshot of a cache entry for debugging and monitoring purposes.
Inherited Members
Namespace: Serenity.AssetPrefetcher.Domain.ValueObjects
Assembly: Serenity.AssetPrefetcher.Domain.dll
Syntax
public struct CacheEntrySnapshot
Properties
Key
The asset key identifier.
Declaration
public string Key { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string | The asset key identifier. |
LastAccessUtc
Last access timestamp in UTC.
Declaration
public DateTime LastAccessUtc { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime | The last access timestamp in UTC. |
Obj
Reference to the cached Unity asset object.
Declaration
public Object Obj { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Object | The cached Unity asset object, or null if not loaded. |
RefCount
Reference count for the cached asset.
Declaration
public int RefCount { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| int | The reference count for the cached asset. |
SizeBytes
Memory size of the asset in bytes.
Declaration
public long SizeBytes { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| long | The memory size of the asset in bytes. |
TypeName
Type name of the cached asset.
Declaration
public string TypeName { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string | The type name of the cached asset, or null if not loaded. |