Skip to main content

Class Snapshot

Namespace: Consul
Assembly: Consul.dll

public class Snapshot : ISnapshotEndpoint

Inheritance

objectSnapshot

Implements

ISnapshotEndpoint

Inherited Members

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Methods

Restore(Stream, CancellationToken)

public Task<WriteResult> Restore(Stream s, CancellationToken ct = default)

Parameters

s Stream

ct CancellationToken

Returns

Task <WriteResult >

Restore(Stream, WriteOptions, CancellationToken)

public Task<WriteResult> Restore(Stream s, WriteOptions q, CancellationToken ct = default)

Parameters

s Stream

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult >

Save(CancellationToken)

public Task<QueryResult<Stream>> Save(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <QueryResult <Stream >>

Save(QueryOptions, CancellationToken)

public Task<QueryResult<Stream>> Save(QueryOptions q, CancellationToken ct = default)

Parameters

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <Stream >>

  • Methods
    • Restore(Stream, CancellationToken)
    • Restore(Stream, WriteOptions, CancellationToken)
    • Save(CancellationToken)
    • Save(QueryOptions, CancellationToken)