| Modifier and Type | Method and Description |
|---|---|
Optional<DurabilityLevel> |
CoreDurability.levelIfSynchronous() |
| Modifier and Type | Method and Description |
|---|---|
static CoreDurability |
CoreDurability.of(DurabilityLevel level) |
| Modifier and Type | Method and Description |
|---|---|
DurabilityLevel |
CoreBucketSettingsJson.minimumDurabilityLevel() |
| Modifier and Type | Method and Description |
|---|---|
static com.couchbase.client.core.deps.io.netty.buffer.ByteBuf |
MemcacheProtocol.mutationFlexibleExtras(KeyValueRequest<?> request,
KeyValueChannelContext ctx,
com.couchbase.client.core.deps.io.netty.buffer.ByteBufAllocator alloc,
Optional<DurabilityLevel> durabilityLevel) |
static com.couchbase.client.core.deps.io.netty.buffer.ByteBuf |
MemcacheProtocol.mutationFlexibleExtras(KeyValueRequest<?> request,
KeyValueChannelContext ctx,
com.couchbase.client.core.deps.io.netty.buffer.ByteBufAllocator alloc,
Optional<DurabilityLevel> durabilityLevel,
boolean preserveExpiry) |
| Modifier and Type | Method and Description |
|---|---|
DurabilityLevel |
CoreBucketSettings.minimumDurabilityLevel() |
| Modifier and Type | Method and Description |
|---|---|
static DurabilityLevel |
DurabilityLevel.decodeFromManagementApi(String input)
Decodes the string representation of the durability level from the management API into an enum.
|
static DurabilityLevel |
DurabilityLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DurabilityLevel[] |
DurabilityLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<DurabilityLevel> |
PrependRequest.durabilityLevel() |
Optional<DurabilityLevel> |
InsertRequest.durabilityLevel() |
Optional<DurabilityLevel> |
RemoveRequest.durabilityLevel() |
Optional<DurabilityLevel> |
DecrementRequest.durabilityLevel() |
Optional<DurabilityLevel> |
UpsertRequest.durabilityLevel() |
Optional<DurabilityLevel> |
SubdocMutateRequest.durabilityLevel() |
Optional<DurabilityLevel> |
IncrementRequest.durabilityLevel() |
Optional<DurabilityLevel> |
ReplaceRequest.durabilityLevel() |
Optional<DurabilityLevel> |
AppendRequest.durabilityLevel() |
Optional<DurabilityLevel> |
SyncDurabilityRequest.durabilityLevel()
Returns the durability level if present.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
SyncDurabilityRequest.applyLevelOnSpan(Optional<DurabilityLevel> level,
RequestSpan span)
Helper method to apply the durability level if present to the request span.
|
| Constructor and Description |
|---|
AppendRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
byte[] content,
long cas,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
DecrementRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
long delta,
Optional<Long> initial,
long expiry,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
IncrementRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
long delta,
Optional<Long> initial,
long expiration,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
InsertRequest(String key,
byte[] content,
long expiration,
int flags,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
PrependRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
byte[] content,
long cas,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
RemoveRequest(String key,
long cas,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
ReplaceRequest(String key,
byte[] content,
long expiration,
boolean preserveExpiry,
int flags,
Duration timeout,
long cas,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
SubdocMutateRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
BucketConfig bucketConfig,
RetryStrategy retryStrategy,
String key,
boolean insertDocument,
boolean upsertDocument,
boolean reviveDocument,
boolean accessDeleted,
boolean createAsDeleted,
List<SubdocMutateRequest.Command> commands,
long expiration,
boolean preserveExpiry,
long cas,
int userFlags,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span)
Deprecated.
Please use the other constructor instead.
|
SubdocMutateRequest(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
BucketConfig bucketConfig,
RetryStrategy retryStrategy,
String key,
CoreStoreSemantics storeSemantics,
boolean accessDeleted,
boolean createAsDeleted,
List<CoreSubdocMutateCommand> commands,
long expiration,
boolean preserveExpiry,
long cas,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
UpsertRequest(String key,
byte[] content,
long expiration,
boolean preserveExpiry,
int flags,
Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
Optional<DurabilityLevel> syncReplicationType,
RequestSpan span) |
| Modifier and Type | Method and Description |
|---|---|
static com.couchbase.client.protostellar.kv.v1.DurabilityLevel |
CoreProtostellarUtil.convert(DurabilityLevel dl) |
| Modifier and Type | Method and Description |
|---|---|
static Duration |
CoreProtostellarUtil.kvDurableTimeout(Optional<Duration> customTimeout,
Optional<DurabilityLevel> dl,
CoreProtostellar core) |
| Modifier and Type | Method and Description |
|---|---|
Optional<DurabilityLevel> |
CleanupRequest.durabilityLevel() |
| Constructor and Description |
|---|
CleanupRequest(String attemptId,
String atrId,
CollectionIdentifier atrCollection,
AttemptState state,
List<DocRecord> stagedReplaces,
List<DocRecord> stagedRemoves,
List<DocRecord> stagedInserts,
Duration delay,
Optional<ForwardCompatibility> forwardCompatibility,
long ageMillis,
Optional<DurabilityLevel> durabilityLevel) |
| Modifier and Type | Method and Description |
|---|---|
static DurabilityLevel |
DurabilityLevelUtil.convertDurabilityLevel(String dl) |
| Modifier and Type | Method and Description |
|---|---|
Optional<DurabilityLevel> |
ActiveTransactionRecordEntry.durabilityLevel() |
| Modifier and Type | Method and Description |
|---|---|
static String |
DurabilityLevelUtil.convertDurabilityLevel(DurabilityLevel dl) |
| Constructor and Description |
|---|
ActiveTransactionRecordEntry(String atrBucket,
String atrId,
String attemptId,
Optional<String> transactionId,
AttemptState state,
Optional<Long> timestampStartMillis,
Optional<Long> timestampCommitMillis,
Optional<Long> timestampCompleteMillis,
Optional<Long> timestampRollBackMillis,
Optional<Long> timestampRolledBackMillis,
Optional<Integer> expiresAfterMillis,
Optional<List<DocRecord>> insertedIds,
Optional<List<DocRecord>> replacedIds,
Optional<List<DocRecord>> removedIds,
long cas,
Optional<ForwardCompatibility> forwardCompatibility,
Optional<DurabilityLevel> durabilityLevel) |
| Modifier and Type | Field and Description |
|---|---|
static DurabilityLevel |
CoreTransactionsConfig.DEFAULT_TRANSACTION_DURABILITY_LEVEL |
| Modifier and Type | Method and Description |
|---|---|
DurabilityLevel |
CoreMergedTransactionConfig.durabilityLevel() |
DurabilityLevel |
CoreTransactionsConfig.durabilityLevel() |
| Modifier and Type | Method and Description |
|---|---|
Optional<DurabilityLevel> |
CoreTransactionOptions.durabilityLevel() |
Optional<DurabilityLevel> |
CoreSingleQueryTransactionOptions.durabilityLevel() |
| Modifier and Type | Method and Description |
|---|---|
static CoreTransactionsConfig |
CoreTransactionsConfig.createForSingleQueryTransactions(DurabilityLevel durabilityLevel,
Duration timeout,
TransactionAttemptContextFactory transactionAttemptContextFactory,
Optional<CollectionIdentifier> metadataCollection) |
| Constructor and Description |
|---|
CoreTransactionsConfig(DurabilityLevel durabilityLevel,
Duration timeout,
CoreTransactionsCleanupConfig cleanupConfig,
TransactionAttemptContextFactory attemptContextFactory,
CleanerFactory cleanerFactory,
ClientRecordFactory clientRecordFactory,
int numAtrs,
Optional<CollectionIdentifier> metadataCollection,
Optional<String> scanConsistency) |
| Constructor and Description |
|---|
CoreSingleQueryTransactionOptions(Optional<DurabilityLevel> durabilityLevel,
Optional<TransactionAttemptContextFactory> attemptContextFactory,
Optional<CollectionIdentifier> metadataCollection) |
CoreTransactionOptions(Optional<DurabilityLevel> durabilityLevel,
Optional<String> scanConsistency,
Optional<RequestSpan> parentSpan,
Optional<Duration> timeout,
Optional<CollectionIdentifier> metadataCollection,
Optional<TransactionAttemptContextFactory> attemptContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
static DurabilityLevel |
OptionsUtil.convert(DurabilityLevel dl) |
| Modifier and Type | Method and Description |
|---|---|
static DurabilityLevel |
OptionsUtil.convert(DurabilityLevel dl) |
| Modifier and Type | Method and Description |
|---|---|
static Mono<InsertResponse> |
TransactionKVHandler.insert(Core core,
CollectionIdentifier collectionIdentifier,
String id,
byte[] transcodedContent,
int flags,
Duration timeout,
Optional<DurabilityLevel> durabilityLevel,
Map<String,Object> clientContext,
SpanWrapper pspan) |
static Mono<SubdocMutateResponse> |
TransactionKVHandler.mutateIn(Core core,
CollectionIdentifier collectionIdentifier,
String id,
Duration timeout,
boolean insertDocument,
boolean upsertDocument,
boolean reviveDocument,
boolean accessDeleted,
boolean createAsDeleted,
long cas,
int userFlags,
Optional<DurabilityLevel> durabilityLevel,
Map<String,Object> clientContext,
SpanWrapper span,
List<SubdocMutateRequest.Command> commands) |
static Mono<SubdocMutateResponse> |
TransactionKVHandler.mutateIn(Core core,
CollectionIdentifier collectionIdentifier,
String id,
Duration timeout,
boolean insertDocument,
boolean upsertDocument,
boolean reviveDocument,
boolean accessDeleted,
boolean createAsDeleted,
long cas,
int userFlags,
Optional<DurabilityLevel> durabilityLevel,
Map<String,Object> clientContext,
SpanWrapper pspan,
List<SubdocMutateRequest.Command> commands,
CoreTransactionLogger logger) |
static Mono<RemoveResponse> |
TransactionKVHandler.remove(Core core,
CollectionIdentifier collectionIdentifier,
String id,
Duration timeout,
long cas,
Optional<DurabilityLevel> durabilityLevel,
Map<String,Object> clientContext,
SpanWrapper pspan) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.