Table of Contents

Interface INatsObjStore

Namespace
NATS.Client.ObjectStore
Assembly
NATS.Client.ObjectStore.dll

NATS Object Store.

public interface INatsObjStore

Properties

Bucket

Object store bucket name.

Methods

AddBucketLinkAsync(string, INatsObjStore, CancellationToken)

Add a link to another object store

AddLinkAsync(string, ObjectMetadata, CancellationToken)

Add a link to another object

AddLinkAsync(string, string, CancellationToken)

Add a link to another object

DeleteAsync(string, CancellationToken)

Delete an object by key.

GetAsync(string, Stream, bool, CancellationToken)

Get object by key.

GetBytesAsync(string, CancellationToken)

Get object by key.

GetInfoAsync(string, bool, CancellationToken)

Get object metadata by key.

GetStatusAsync(CancellationToken)

Retrieves run-time status about the backing store of the bucket.

ListAsync(NatsObjListOpts?, CancellationToken)

List all the objects in this store.

PutAsync(ObjectMetadata, Stream, bool, CancellationToken)

Put an object by key.

PutAsync(string, byte[], CancellationToken)

Put an object by key.

PutAsync(string, Stream, bool, CancellationToken)

Put an object by key.

SealAsync(CancellationToken)

Seal the object store. No further modifications will be allowed.

UpdateMetaAsync(string, ObjectMetadata, CancellationToken)

Update object metadata

WatchAsync(NatsObjWatchOpts?, CancellationToken)

Watch for changes in the underlying store and receive meta information updates.