public class CouchbaseTxWrapper
extends java.lang.Object
implements io.flamingock.internal.core.transaction.TransactionWrapper
| Constructor and Description |
|---|
CouchbaseTxWrapper(com.couchbase.client.java.Cluster cluster,
io.flamingock.internal.core.transaction.TransactionManager<com.couchbase.client.java.transactions.TransactionAttemptContext> txManager) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
wrapInTransaction(io.flamingock.internal.core.runtime.ExecutionRuntime executionRuntime,
java.util.function.Function<io.flamingock.internal.core.runtime.ExecutionRuntime,T> operation) |
public CouchbaseTxWrapper(com.couchbase.client.java.Cluster cluster,
io.flamingock.internal.core.transaction.TransactionManager<com.couchbase.client.java.transactions.TransactionAttemptContext> txManager)
public <T> T wrapInTransaction(io.flamingock.internal.core.runtime.ExecutionRuntime executionRuntime,
java.util.function.Function<io.flamingock.internal.core.runtime.ExecutionRuntime,T> operation)
wrapInTransaction in interface io.flamingock.internal.core.transaction.TransactionWrapper