Class DefaultAttemptContextFactory
- java.lang.Object
-
- com.couchbase.transactions.support.DefaultAttemptContextFactory
-
- All Implemented Interfaces:
AttemptContextFactory
@Internal public class DefaultAttemptContextFactory extends java.lang.Object implements AttemptContextFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultAttemptContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttemptContextReactive
create(TransactionContext overall, MergedTransactionConfig config, java.lang.String attemptId, TransactionsReactive parent, java.util.Optional<SpanWrapper> parentSpan)
AttemptContextReactive
createFrom(com.couchbase.client.java.json.JsonObject serialized, TransactionContext overall, MergedTransactionConfig config, TransactionsReactive transactionsReactive)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.couchbase.transactions.support.AttemptContextFactory
create, createFrom
-
-
-
-
Method Detail
-
create
public AttemptContextReactive create(TransactionContext overall, MergedTransactionConfig config, java.lang.String attemptId, TransactionsReactive parent, java.util.Optional<SpanWrapper> parentSpan)
- Specified by:
create
in interfaceAttemptContextFactory
-
createFrom
public AttemptContextReactive createFrom(com.couchbase.client.java.json.JsonObject serialized, TransactionContext overall, MergedTransactionConfig config, TransactionsReactive transactionsReactive)
- Specified by:
createFrom
in interfaceAttemptContextFactory
-
-