public static final class MySqlTransactionDefinition.Builder extends Object
TransactionDefinition.public MySqlTransactionDefinition build()
public MySqlTransactionDefinition.Builder isolationLevel(@Nullable @Nullable io.r2dbc.spi.IsolationLevel isolationLevel)
TransactionDefinition.ISOLATION_LEVEL option.isolationLevel - the level which change to, or null to remove old value.public MySqlTransactionDefinition.Builder lockWaitTimeout(@Nullable @Nullable Duration lockWaitTimeout)
TransactionDefinition.LOCK_WAIT_TIMEOUT option.lockWaitTimeout - the timeout which change to, or null to remove old value.public MySqlTransactionDefinition.Builder readOnly(@Nullable @Nullable Boolean readOnly)
TransactionDefinition.READ_ONLY option.readOnly - if enable read only, or null to remove old value.public MySqlTransactionDefinition.Builder withConsistentSnapshot(@Nullable @Nullable Boolean withConsistentSnapshot)
MySqlTransactionDefinition.WITH_CONSISTENT_SNAPSHOT option. Notice that this phrase can only be used
with the REPEATABLE READ isolation level.withConsistentSnapshot - if enable consistent snapshot, or null to remove old value.public MySqlTransactionDefinition.Builder consistentSnapshotEngine(@Nullable @Nullable ConsistentSnapshotEngine snapshotEngine)
MySqlTransactionDefinition.CONSISTENT_SNAPSHOT_ENGINE option.snapshotEngine - the engine which change to, or null to remove old value.public MySqlTransactionDefinition.Builder consistentSnapshotFromSession(@Nullable @Nullable Long sessionId)
MySqlTransactionDefinition.CONSISTENT_SNAPSHOT_FROM_SESSION option.sessionId - the session id which change to, or null to remove old value.Copyright © 2018–2023 asyncer.io. All rights reserved.