Class: Concurrent::Actor::RestartingContext Abstract

Inherits:
AbstractContext show all
Defined in:
lib/concurrent-ruby-edge/concurrent/actor/context.rb

Overview

This class is abstract.

Context of an Actor for robust systems. It supports supervision, linking, pauses on error. Uses Behaviour.restarting_behaviour_definition

Instance Attribute Summary

Attributes inherited from AbstractContext

#core

Instance Method Summary collapse

Methods inherited from AbstractContext

#ask, #dead_letter_routing, #default_executor, #default_reference_class, #envelope, #on_envelope, #on_event, #on_message, #pass, spawn, spawn!, #tell

Methods included from InternalDelegations

#behaviour, #behaviour!, #children, #context, #dead_letter_routing, #log, #redirect, #terminate!, #terminated?

Methods included from PublicDelegations

#context_class, #executor, #name, #parent, #path, #reference

Methods included from TypeCheck

#Child!, #Child?, #Match!, #Match?, #Type!, #Type?

Instance Method Details

#behaviour_definitionObject



163
164
165
# File 'lib/concurrent-ruby-edge/concurrent/actor/context.rb', line 163

def behaviour_definition
  Behaviour.restarting_behaviour_definition
end