public interface SyncDurabilityRequest
Modifier and Type | Method and Description |
---|---|
default void |
applyLevelOnSpan(Optional<DurabilityLevel> level,
RequestSpan span)
Helper method to apply the durability level if present to the request span.
|
Optional<DurabilityLevel> |
durabilityLevel()
Returns the durability level if present.
|
Optional<DurabilityLevel> durabilityLevel()
default void applyLevelOnSpan(Optional<DurabilityLevel> level, RequestSpan span)
level
- the level to potentially apply.span
- the span on which it should be applied on.Copyright © 2024 Couchbase, Inc.. All rights reserved.