public class ObserveContext extends CoreContext
Context.ExportFormat
Constructor and Description |
---|
ObserveContext(CoreContext ctx,
Observe.ObservePersistTo persistTo,
Observe.ObserveReplicateTo replicateTo,
Optional<MutationToken> mutationToken,
long cas,
CollectionIdentifier collectionIdentifier,
String key,
boolean remove,
Duration timeout,
RequestSpan parentSpan) |
Modifier and Type | Method and Description |
---|---|
long |
cas() |
CollectionIdentifier |
collectionIdentifier() |
String |
key() |
Optional<MutationToken> |
mutationToken() |
RequestSpan |
parentSpan() |
Observe.ObservePersistTo |
persistTo() |
boolean |
remove() |
Observe.ObserveReplicateTo |
replicateTo() |
RetryStrategy |
retryStrategy() |
Duration |
timeout() |
alternateAddress, alternateAddress, authenticator, core, environment, id, injectExportableParams
exportAsString, toString
public ObserveContext(CoreContext ctx, Observe.ObservePersistTo persistTo, Observe.ObserveReplicateTo replicateTo, Optional<MutationToken> mutationToken, long cas, CollectionIdentifier collectionIdentifier, String key, boolean remove, Duration timeout, RequestSpan parentSpan)
public Observe.ObservePersistTo persistTo()
public Observe.ObserveReplicateTo replicateTo()
public Optional<MutationToken> mutationToken()
public long cas()
public CollectionIdentifier collectionIdentifier()
public String key()
public boolean remove()
public Duration timeout()
public RetryStrategy retryStrategy()
public RequestSpan parentSpan()
Copyright © 2020 Couchbase, Inc.. All rights reserved.