Class PersistentCompiledArtifactCache
public sealed class PersistentCompiledArtifactCache
- Inheritance
-
PersistentCompiledArtifactCache
- Inherited Members
Constructors
PersistentCompiledArtifactCache(string)
public PersistentCompiledArtifactCache(string rootDirectory)
Parameters
rootDirectorystring
Methods
EntryExists(string)
public bool EntryExists(string cacheKey)
Parameters
cacheKeystring
Returns
EntryPath(string)
public string EntryPath(string cacheKey)
Parameters
cacheKeystring
Returns
TryReadAsync(string, ExecutionPlan, string, IGeneratedAssemblyVerifier, VerificationPolicy, CancellationToken)
public ValueTask<CompiledCacheLookup> TryReadAsync(string cacheKey, ExecutionPlan plan, string entrypoint, IGeneratedAssemblyVerifier verifier, VerificationPolicy policy, CancellationToken cancellationToken)
Parameters
cacheKeystringplanExecutionPlanentrypointstringverifierIGeneratedAssemblyVerifierpolicyVerificationPolicycancellationTokenCancellationToken
Returns
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)
Parameters
cacheKeystringplanExecutionPlanentrypointstringassemblyBytesbyte[]manifestArtifactManifestverificationVerificationResultpolicyVerificationPolicycancellationTokenCancellationToken