Nebula
SharedCache

LocalSharedCacheClient

ISharedCacheClient over a store in this process: a folder under the project or the persistent data path, or the store an orchestrator in the same process hosts.

generated from the sources
public sealed class LocalSharedCacheClient : SharedCacheClientBase

ISharedCacheClient over a store in this process: a folder under the project or the persistent data path, or the store an orchestrator in the same process hosts.

Constructors

LocalSharedCacheClient

public LocalSharedCacheClient(ISharedCacheStore store, int maxObjectBytes = SharedCacheKey.DefaultMaxObjectBytes, int maxConcurrent = DefaultMaxConcurrent);

Properties

Backend

public override string Backend { get; }

Methods

GetCoreAsync

protected override Task<byte[]> GetCoreAsync(string key, CancellationToken ct);

PutCoreAsync

protected override Task<bool> PutCoreAsync(string key, byte[] bytes, string checksum, CancellationToken ct);

On this page