Options
All
  • Public
  • Public/Protected
  • All
Menu

ISTMOptions are optionally passed to etcd3.stm(options).

Hierarchy

  • ISTMOptions

Index

Properties

Optional callOptions

callOptions: grpc.CallOptions

Options to pass into the STM transaction's commit.

isolation

isolation: Isolation

Isolation level for the transaction. Defaults to SerializableSnapshot.

prefetch

prefetch: string[]

WithPrefetch is a hint to prefetch a list of keys before trying to apply. If an STM transaction will unconditionally fetch a set of keys, prefetching those keys will save the round-trip cost from requesting each key one by one with .get().

retries

retries: number

Number of times we'll retry the transaction if we get a conflict. Defaults to 3.

Legend

  • Constructor
  • Method
  • Inherited method

Generated using TypeDoc