public interface TransactionExecutionOptionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExcludeFromChangeStreams()
public abstract boolean getExcludeFromChangeStreams()Whether traffic from this transaction will be excluded from tracking change streams with allow_txn_exclusion=true.
bool exclude_from_change_streams = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The excludeFromChangeStreams. |
getExcludeTxnFromChangeStreams()
public abstract boolean getExcludeTxnFromChangeStreams()Whether to exclude mutations of this transaction from the allowed tracking change streams.
bool exclude_txn_from_change_streams = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
The excludeTxnFromChangeStreams. |
getOptimistic()
public abstract boolean getOptimistic()Whether optimistic concurrency should be used to execute this transaction.
bool optimistic = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The optimistic. |
getSerializableOptimistic()
public abstract boolean getSerializableOptimistic()Whether serializable isolation with optimistic mode concurrency should be used to execute this transaction.
bool serializable_optimistic = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The serializableOptimistic. |
getSnapshotIsolationOptimistic()
public abstract boolean getSnapshotIsolationOptimistic()Whether snapshot isolation with optimistic mode concurrency should be used to execute this transaction.
bool snapshot_isolation_optimistic = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
The snapshotIsolationOptimistic. |
getSnapshotIsolationPessimistic()
public abstract boolean getSnapshotIsolationPessimistic()Whether snapshot isolation with pessimistic mode concurrency should be used to execute this transaction.
bool snapshot_isolation_pessimistic = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The snapshotIsolationPessimistic. |