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
Class in namespace
Nebula · Packages/com.1by3.nebula/Runtime/SharedCache/SharedCacheClient.cspublic sealed class LocalSharedCacheClient : SharedCacheClientBaseISharedCacheClient 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);