Sha256: a82a0bf51affc9ea05fe62456e66f2fea798aff949046bb359cc0603e83936bd

Contents?: true

Size: 804 Bytes

Versions: 4

Compression:

Stored size: 804 Bytes

Contents

module MTLibcouchbase::Ext
  # (Not documented)
  #
  # ## Fields:
  # :cmdflags ::
  #   (Integer)
  # :exptime ::
  #   (Integer)
  # :cas ::
  #   (Integer)
  # :key ::
  #   (KEYBUF)
  # :hashkey ::
  #   (KEYBUF)
  # :lock ::
  #   (Integer) If set to true, the `exptime` field inside `options` will take to mean
  #   the time the lock should be held. While the lock is held, other operations
  #   trying to access the key will fail with an `LCB_ETMPFAIL` error. The
  #   item may be unlocked either via `lcb_unlock3()` or via a mutation
  #   operation with a supplied CAS
  class CMDGET < FFI::Struct
    layout :cmdflags, :uint,
           :exptime, :uint,
           :cas, :ulong_long,
           :key, KEYBUF.by_value,
           :hashkey, KEYBUF.by_value,
           :lock, :int
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mt-libcouchbase-1.4.03 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdget.rb
mt-libcouchbase-1.4.02 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdget.rb
mt-libcouchbase-1.4.01 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdget.rb
mt-libcouchbase-1.4.0 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdget.rb