java.lang.Object
com.couchbase.client.core.transaction.support.OptionsUtil

@Internal public class OptionsUtil extends Object
  • Method Details

    • kvTimeoutNonMutating

      public static Duration kvTimeoutNonMutating(Core core)
      The timeout to use for non-mutating KV operations (or mutating operations that aren't important enough to justify durability.)
    • kvTimeoutMutating

      public static Duration kvTimeoutMutating(Core core)
      The timeout to use for important mutating KV operations.
    • convert

      public static DurabilityLevel convert(DurabilityLevel dl)
    • createClientContext

      public static Map<String,Object> createClientContext(String op)