private Observable < DocumentFragment < Mutation > > buildSubdocMutation ( AsyncMutateInBuilder mutation , int ttl , long cas , boolean upsertDoc ) { return mutation . upsertDocument ( upsertDoc ) . withExpiry ( ttl ) . withCas ( cas ) . withDurability ( config . persistTo , config . replicateTo ) . execute ( ) . timeout ( config . couchbase . kvTimeout , TimeUnit . MILLISECONDS ) ; }
Applies standard options to sub - document mutations