Skip to content

Class PersistentCompiledArtifactCache

Namespace: DotBoxD.Kernels.Compiler
Assembly: DotBoxD.Kernels.Compiler.dll

public sealed class PersistentCompiledArtifactCache

objectPersistentCompiledArtifactCache

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

public PersistentCompiledArtifactCache(string rootDirectory)

rootDirectory string

public bool EntryExists(string cacheKey)

cacheKey string

bool

public string EntryPath(string cacheKey)

cacheKey string

string

TryReadAsync(string, ExecutionPlan, string, IGeneratedAssemblyVerifier, VerificationPolicy, CancellationToken)

Section titled “ TryReadAsync(string, ExecutionPlan, string, IGeneratedAssemblyVerifier, VerificationPolicy, CancellationToken)”
public ValueTask<CompiledCacheLookup> TryReadAsync(string cacheKey, ExecutionPlan plan, string entrypoint, IGeneratedAssemblyVerifier verifier, VerificationPolicy policy, CancellationToken cancellationToken)

cacheKey string

plan ExecutionPlan

entrypoint string

verifier IGeneratedAssemblyVerifier

policy VerificationPolicy

cancellationToken CancellationToken

ValueTask<CompiledCacheLookup>

WriteAsync(string, ExecutionPlan, string, byte[], ArtifactManifest, VerificationResult, VerificationPolicy, CancellationToken)

Section titled “ WriteAsync(string, ExecutionPlan, string, byte[], ArtifactManifest, VerificationResult, VerificationPolicy, CancellationToken)”
public ValueTask WriteAsync(string cacheKey, ExecutionPlan plan, string entrypoint, byte[] assemblyBytes, ArtifactManifest manifest, VerificationResult verification, VerificationPolicy policy, CancellationToken cancellationToken)

cacheKey string

plan ExecutionPlan

entrypoint string

assemblyBytes byte[]

manifest ArtifactManifest

verification VerificationResult

policy VerificationPolicy

cancellationToken CancellationToken

ValueTask