Class DocumentGetter
java.lang.Object
com.couchbase.client.core.transaction.components.DocumentGetter
Responsible for doing transaction-aware get()s.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mono<Optional<CoreTransactionGetResult>>
getAsync
(Core core, CoreTransactionLogger LOGGER, CollectionIdentifier collection, CoreMergedTransactionConfig config, String docId, String byAttemptId, boolean justReturn, SpanWrapper span, Optional<String> resolvingMissingATREntry, MeteringUnits.MeteringUnitsBuilder units, CoreTransactionsSupportedExtensions supported) justGetDoc
(Core core, CollectionIdentifier collection, String docId, Duration timeout, SpanWrapper span, boolean accessDeleted, CoreTransactionLogger logger, MeteringUnits.MeteringUnitsBuilder units)
-
Method Details
-
getAsync
public static Mono<Optional<CoreTransactionGetResult>> getAsync(Core core, CoreTransactionLogger LOGGER, CollectionIdentifier collection, CoreMergedTransactionConfig config, String docId, String byAttemptId, boolean justReturn, @Nullable SpanWrapper span, Optional<String> resolvingMissingATREntry, MeteringUnits.MeteringUnitsBuilder units, CoreTransactionsSupportedExtensions supported) -
justGetDoc
public static Mono<Optional<Tuple2<CoreTransactionGetResult,SubdocGetResponse>>> justGetDoc(Core core, CollectionIdentifier collection, String docId, Duration timeout, @Nullable SpanWrapper span, boolean accessDeleted, CoreTransactionLogger logger, MeteringUnits.MeteringUnitsBuilder units)
-