123456789_123456789_123456789_123456789_123456789_

Class: Concurrent::ErlangActor::DownSignal

Class Attribute Summary

Class Method Summary

Synchronization::Object - Inherited

.atomic_attribute?, .atomic_attributes,
.attr_atomic

Creates methods for reading and writing to a instance variable with volatile (Java) semantic as .attr_volatile does.

.attr_volatile

Creates methods for reading and writing (as attr_accessor does) to a instance variable with volatile (Java) semantic.

.ensure_safe_initialization_when_final_fields_are_present

For testing purposes, quite slow.

.new

Has to be called by children.

.safe_initialization!, .define_initialize_atomic_fields

Synchronization::AbstractObject - Inherited

Instance Attribute Summary

HasReference - Included

HasFrom - Included

Instance Method Summary

Constructor Details

.new(from, reference, info) ⇒ DownSignal (private)

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1443

def initialize(from, reference, info)
  super from, reference
  @info = info
end

Instance Attribute Details

#infoObject (readonly)

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1440

attr_reader :info

Instance Method Details

#==(o) ⇒ true, false

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1454

def ==(o)
  super(o) && o.info == self.info
end

#hashInteger

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1459

def hash
  to_ary.hash
end

#to_ary::Array(Pis, Reference, Object)

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1449

def to_ary
  [@from, @reference, @info]
end