Class: ZooKeeper::WatchEvent

Inherits:
Object
  • Object
show all
Includes:
Enumeration
Defined in:
lib/zkruby/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Enumeration

included

Constructor Details

#initialize(watch_types) ⇒ WatchEvent

Returns a new instance of WatchEvent.



156
157
158
# File 'lib/zkruby/client.rb', line 156

def initialize(watch_types)
    @watch_types = watch_types
end

Instance Attribute Details

#watch_typesObject (readonly)

Returns the value of attribute watch_types.



155
156
157
# File 'lib/zkruby/client.rb', line 155

def watch_types
  @watch_types
end