Table of Contents

Class NatsKVContext

Namespace
NATS.Client.KeyValueStore
Assembly
NATS.Client.KeyValueStore.dll

Key Value Store context

public class NatsKVContext : INatsKVContext
Inheritance
NatsKVContext
Implements
Inherited Members

Constructors

NatsKVContext(NatsJSContext)

Create a new Key Value Store context

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.