|
C++ YT Wrapper
C++ library for working with YT clusters
|
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. | |
Options for attaching transaction.
| 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).
| 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.