Class CommonDurabilityOptions.BuiltCommonDurabilityOptions

java.lang.Object
CommonOptions<SELF>.BuiltCommonOptions
com.couchbase.client.java.kv.CommonDurabilityOptions.BuiltCommonDurabilityOptions
All Implemented Interfaces:
CoreCommonOptions
Direct Known Subclasses:
AppendOptions.Built, DecrementOptions.Built, IncrementOptions.Built, InsertOptions.Built, MutateInOptions.Built, PrependOptions.Built, RemoveOptions.Built, ReplaceOptions.Built, UpsertOptions.Built
Enclosing class:
CommonDurabilityOptions<SELF extends CommonDurabilityOptions<SELF>>

public abstract class CommonDurabilityOptions.BuiltCommonDurabilityOptions extends CommonOptions<SELF>.BuiltCommonOptions
  • Constructor Details

    • BuiltCommonDurabilityOptions

      public BuiltCommonDurabilityOptions()
  • Method Details

    • persistTo

      public PersistTo persistTo()
      Returns the persistence durability setting if provided.
    • replicateTo

      public ReplicateTo replicateTo()
      Returns the replication durability setting if provided.
    • durabilityLevel

      public Optional<DurabilityLevel> durabilityLevel()
      Returns the enhanced durability setting if provided.
    • toCoreDurability

      @Internal public CoreDurability toCoreDurability()