Class: Zookeeper::Callbacks::StatCallback
- Defined in:
- lib/zookeeper/callbacks.rb
Instance Attribute Summary collapse
-
#return_code ⇒ Object
readonly
aset, aexists, awexists.
-
#stat ⇒ Object
readonly
aset, aexists, awexists.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#call, #completed?, create, #initialize
Constructor Details
This class inherits a constructor from Zookeeper::Callbacks::Base
Instance Attribute Details
#return_code ⇒ Object (readonly)
aset, aexists, awexists
84 85 86 |
# File 'lib/zookeeper/callbacks.rb', line 84 def return_code @return_code end |
#stat ⇒ Object (readonly)
aset, aexists, awexists
84 85 86 |
# File 'lib/zookeeper/callbacks.rb', line 84 def stat @stat end |
Instance Method Details
#initialize_context(hash) ⇒ Object
86 87 88 |
# File 'lib/zookeeper/callbacks.rb', line 86 def initialize_context(hash) @return_code, @stat, @context = hash[:rc], hash[:stat], hash[:context] end |