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, boolean preferredReplicaMode) justGetDoc
(Core core, CollectionIdentifier collection, String docId, Duration timeout, SpanWrapper span, boolean accessDeleted, CoreTransactionLogger logger, MeteringUnits.MeteringUnitsBuilder units, boolean preferredReplicaMode)
-
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, boolean preferredReplicaMode) -
justGetDoc
public static Mono<Optional<Tuple2<CoreTransactionGetResult,CoreSubdocGetResult>>> justGetDoc(Core core, CollectionIdentifier collection, String docId, Duration timeout, @Nullable SpanWrapper span, boolean accessDeleted, CoreTransactionLogger logger, MeteringUnits.MeteringUnitsBuilder units, boolean preferredReplicaMode)
-