Sha256: f43f5b016d2a5ecce969ddb8e09ba26efbe1c1d374e37ff8bf9796706ed2f217

Contents?: true

Size: 975 Bytes

Versions: 4

Compression:

Stored size: 975 Bytes

Contents

module MTLibcouchbase::Ext
  # (Not documented)
  #
  # ## Fields:
  # :cmdflags ::
  #   (Integer)
  # :exptime ::
  #   (Integer)
  # :cas ::
  #   (Integer)
  # :key ::
  #   (KEYBUF)
  # :hashkey ::
  #   (KEYBUF)
  # :delta ::
  #   (Integer) Delta value. If this number is negative the item on the server is
  #   decremented. If this number is positive then the item on the server
  #   is incremented
  # :initial ::
  #   (Integer) If the item does not exist on the server (and `create` is true) then
  #   this will be the initial value for the item.
  # :create ::
  #   (Integer) Boolean value. Create the item and set it to `initial` if it does not
  #   already exist
  class CMDCOUNTER < FFI::Struct
    layout :cmdflags, :uint,
           :exptime, :uint,
           :cas, :ulong_long,
           :key, KEYBUF.by_value,
           :hashkey, KEYBUF.by_value,
           :delta, :long_long,
           :initial, :ulong_long,
           :create, :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/cmdcounter.rb
mt-libcouchbase-1.4.02 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdcounter.rb
mt-libcouchbase-1.4.01 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdcounter.rb
mt-libcouchbase-1.4.0 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdcounter.rb