Class: Tair::IncrRequest
Defined Under Namespace
Classes: Body
Constant Summary collapse
- PACKET_CODE =
11
Constants inherited from Request
Request::MAX_INT32, Request::TAIR_PACKET_FLAG
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(key, step = 1) ⇒ IncrRequest
constructor
A new instance of IncrRequest.
Methods inherited from Request
#encode, #header, #inspect, #packet_code, #req_id
Constructor Details
#initialize(key, step = 1) ⇒ IncrRequest
Returns a new instance of IncrRequest.
32 33 34 |
# File 'lib/tair/operation/incr.rb', line 32 def initialize(key, step = 1) @key, @step = key, step end |