C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TAttachTransactionOptions Struct Reference

Options for attaching transaction. More...

#include <client_method_options.h>

Public Member Functions

TSelf & AutoPingable (bool)
 Ping transaction automatically.
TSelf & AbortOnTermination (bool)
 Abort transaction on program termination.

Detailed Description

Options for attaching transaction.

See also
NYT::IClient::AttachTransaction

Member Function Documentation

◆ AbortOnTermination()

TSelf & NYT::TAttachTransactionOptions::AbortOnTermination ( bool )

Abort transaction on program termination.

Should the transaction be aborted on program termination (either normal or by a signal or uncaught exception – two latter only if TInitializeOptions::CleanupOnTermination is set).

◆ AutoPingable()

TSelf & NYT::TAttachTransactionOptions::AutoPingable ( bool )

Ping transaction automatically.

When set to |true| library creates a thread that pings transaction. When set to |false| library doesn't ping transaction and it's user responsibility to ping it.


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