Class Moped::Protocol::KillCursors
In: lib/moped/protocol/kill_cursors.rb
Parent: Object

The Protocol class for killing active cursors.

@example

  command = KillCursors.new [123, 124, 125]

@example Setting the request id

  command = KillCursors.new [123, 124, 125], request_id: 456

Methods

log_inspect   new   op_code  

Included Modules

Message

Public Class methods

Create a new command to kill cursors.

@param [Array] cursor_ids an array of cursor ids to kill @param [Hash] options additional options @option options [Number] :request_id the command‘s request id

Public Instance methods

@return [Number] OP_KILL_CURSORS operation code (2007)

[Validate]