Nebula
SharedCache

MemorySharedCacheStore

ISharedCacheStore in memory: nothing survives the process.

generated from the sources
public sealed class MemorySharedCacheStore : ISharedCacheStore

ISharedCacheStore in memory: nothing survives the process. For tests and for runs that keep nothing (-nebula-shared-cache-mode memory).

Properties

Backend

public string Backend { get; }

Methods

TryGet

public bool TryGet(string key, out byte[] bytes, out string checksum);

Put

public bool Put(string key, byte[] bytes, string checksum);

RemoveUnreadSince

public int RemoveUnreadSince(DateTime cutoffUtc);

Clear

public int Clear();

Count

public long Count();

TotalBytes

public long TotalBytes();

Dispose

public void Dispose();

On this page