Class: ZooKeeper::ExistsPacket
- Defined in:
- lib/zkruby/protocol.rb
Overview
NoNode error is expected for exists
Instance Attribute Summary
Attributes inherited from Packet
Attributes inherited from Operation
#callback, #op, #opcode, #request, #response
Instance Method Summary collapse
Methods inherited from Packet
Methods inherited from Operation
Constructor Details
This class inherits a constructor from ZooKeeper::Packet
Instance Method Details
#result(rc) ⇒ Object
105 106 107 |
# File 'lib/zkruby/protocol.rb', line 105 def result(rc) Error::NO_NODE === rc ? [ callback, nil, nil, :exists ] : super(rc) end |