Sha256: b46e891a1e3e68a5e011b99934aafe045ad918b157de9c0729e97875b59497d2

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

module MTLibcouchbase::Ext
  # (Not documented)
  #
  # ## Fields:
  # :addcmd ::
  #   (FFI::Pointer(*)) Add a command to the current context
  #   @param ctx the context
  #   @param cmd the command to add. Note that `cmd` may be a subclass of lcb_CMDBASE
  #   @return LCB_SUCCESS, or failure if a command could not be added.
  # :done ::
  #   (FFI::Pointer(*)) Indicate that no more commands are added to this context, and that the
  #   context should assemble the packets and place them in the current
  #   scheduling context
  #   @param ctx The multi context
  #   @param cookie The cookie for all commands
  #   @return LCB_SUCCESS if scheduled successfully, or an error code if there
  #   was a problem constructing the packet(s).
  # :fail ::
  #   (FFI::Pointer(*)) Indicate that no more commands should be added to this context, and that
  #   the context should not add its contents to the packet queues, but rather
  #   release its resources. Called if you don't want to actually perform
  #   the operations.
  #   @param ctx
  class MULTICMDCTX < FFI::Struct
    layout :addcmd, :pointer,
           :done, :pointer,
           :fail, :pointer
  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/multicmd_ctx.rb
mt-libcouchbase-1.4.02 lib/mt-libcouchbase/ext/mt-libcouchbase/multicmd_ctx.rb
mt-libcouchbase-1.4.01 lib/mt-libcouchbase/ext/mt-libcouchbase/multicmd_ctx.rb
mt-libcouchbase-1.4.0 lib/mt-libcouchbase/ext/mt-libcouchbase/multicmd_ctx.rb