C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TTabletTransactionOptions< TDerived > Struct Template Reference

Base class for options dealing with io to dynamic tables. More...

#include <client_method_options.h>

Public Member Functions

TSelf & Atomicity (EAtomicity)
 Atomicity mode of operation.
TSelf & Durability (EDurability)
 Durability mode of operation.

Detailed Description

template<typename TDerived>
struct NYT::TTabletTransactionOptions< TDerived >

Base class for options dealing with io to dynamic tables.

Member Function Documentation

◆ Atomicity()

template<typename TDerived>
TSelf & NYT::TTabletTransactionOptions< TDerived >::Atomicity ( EAtomicity )

Atomicity mode of operation.

Setting to NYT::EAtomicity::None allows to improve latency of operations at the cost of weakening contracts.

Note
Use with care.
See also
https://ytsaurus.tech/docs/en/user-guide/dynamic-tables/sorted-dynamic-tables

◆ Durability()

template<typename TDerived>
TSelf & NYT::TTabletTransactionOptions< TDerived >::Durability ( EDurability )

Durability mode of operation.

Setting to NYT::EDurability::Async allows to improve latency of operations at the cost of weakening contracts.

Note
Use with care.
See also
https://ytsaurus.tech/docs/en/user-guide/dynamic-tables/sorted-dynamic-tables

The documentation for this struct was generated from the following file: