Class TestTransactionAttemptContextFactory
java.lang.Object
com.couchbase.client.core.transaction.support.TransactionAttemptContextFactory
com.couchbase.client.core.transaction.util.TestTransactionAttemptContextFactory
@Internal
public class TestTransactionAttemptContextFactory
extends TransactionAttemptContextFactory
Can be used for testing transactions, but is for internal use only.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan)
-
Constructor Details
-
TestTransactionAttemptContextFactory
-
-
Method Details
-
create
public CoreTransactionAttemptContext create(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan) - Overrides:
create
in classTransactionAttemptContextFactory
-