Table of Contents

Interface INatsKVContext

Namespace
NATS.Client.KeyValueStore
Assembly
NATS.Client.KeyValueStore.dll
public interface INatsKVContext

Methods

CreateStoreAsync(NatsKVConfig, CancellationToken)

Create a new Key Value Store or get an existing one

CreateStoreAsync(string, CancellationToken)

Create a new Key Value Store or get an existing one

DeleteStoreAsync(string, CancellationToken)

Delete a Key Value Store

GetBucketNamesAsync(CancellationToken)

Get a list of bucket names

GetStatusesAsync(CancellationToken)

Gets the status for all buckets

GetStoreAsync(string, CancellationToken)

Get a Key Value Store

UpdateStoreAsync(NatsKVConfig, CancellationToken)

Update a key value store configuration. Storage type cannot change.