Class: Wakame::Event::ClusterFrozen

Inherits:
Base
  • Object
show all
Defined in:
lib/wakame/event.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#time

Instance Method Summary collapse

Constructor Details

#initialize(cluster_id) ⇒ ClusterFrozen

Returns a new instance of ClusterFrozen.



33
34
35
36
# File 'lib/wakame/event.rb', line 33

def initialize(cluster_id)
  super()
  @cluster_id = cluster_id
end

Instance Attribute Details

#cluster_idObject (readonly)

Returns the value of attribute cluster_id.



32
33
34
# File 'lib/wakame/event.rb', line 32

def cluster_id
  @cluster_id
end

Instance Method Details

#log_messageObject



38
39
40
# File 'lib/wakame/event.rb', line 38

def log_message
  "#{@cluster_id}, frozen"
end