First step in restructuring the docs for 2.6 #26487
|
|
@ -23,3 +23,5 @@ RedirectMatch 301 ^(.*)/stream/operators/Source-or-Flow/unzip\.html$ $1/stream/o
|
|||
RedirectMatch 301 ^(.*)/stream/operators/Source-or-Flow/UnzipWith\.html$ $1/stream/operators/UnzipWith.html
|
||||
|
||||
RedirectMatch 301 ^(.*)/stream/operators/Source-or-Flow/apply\.html$ $1/stream/operators/Source/from.html
|
||||
|
||||
RedirectMatch 301 ^(.*)/guide/(.*) $1/typed/guide/$2
|
||||
|
|
@ -1,8 +1,19 @@
|
|||
# Actors
|
||||
# Classic Actors
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[actors](typed/actors.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
To use Actors, you must add the following dependency in your project:
|
||||
To use Classic Actors, you must add the following dependency in your project:
|
||||
|
||||
@@dependency[sbt,Maven,Gradle] {
|
||||
group="com.typesafe.akka"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Cluster Client
|
||||
# Classic Cluster Client
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
Instead of the cluster client we recommend Akka gRPC (FIXME https://github.com/akka/akka/issues/26175)
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Cluster Metrics Extension
|
||||
# Classic Cluster Metrics Extension
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Cluster Aware Routers
|
||||
# Classic Cluster Aware Routers
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[routers](typed/routers.md).
|
||||
|
||||
@@@
|
||||
|
||||
All @ref:[routers](routing.md) can be made aware of member nodes in the cluster, i.e.
|
||||
deploying new routees or looking up routees on nodes in the cluster.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Cluster Sharding
|
||||
# Classic Cluster Sharding
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[cluster-sharding](typed/cluster-sharding.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Cluster Singleton
|
||||
# Classic Cluster Singleton
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[cluster-singleton](typed/cluster-singleton.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Dispatchers
|
||||
# Classic Dispatchers
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[dispatchers](typed/dispatchers.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Distributed Data
|
||||
# Classic Distributed Data
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[distributed-data](typed/distributed-data.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Distributed Publish Subscribe in Cluster
|
||||
# Classic Distributed Publish Subscribe in Cluster
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see FIXME https://github.com/akka/akka/issues/26338
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Fault Tolerance
|
||||
# Classic Fault Tolerance
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[fault tolerance](typed/fault-tolerance.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# FSM
|
||||
# Classic FSM
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[fsm](typed/fsm.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,101 +0,0 @@
|
|||
# How the Actor Model Meets the Needs of Modern, Distributed Systems
|
||||
|
||||
As described in the previous topic, common programming practices do not properly
|
||||
address the needs of demanding modern systems. Thankfully, we
|
||||
don't need to scrap everything we know. Instead, the actor model addresses these
|
||||
shortcomings in a principled way, allowing systems to behave in a way that
|
||||
better matches our mental model. The actor model abstraction
|
||||
allows you to think about your code in terms of communication, not unlike the
|
||||
exchanges that occur between people in a large organization.
|
||||
|
||||
Use of actors allows us to:
|
||||
|
||||
* Enforce encapsulation without resorting to locks.
|
||||
* Use the model of cooperative entities reacting to signals, changing state, and sending signals to each other
|
||||
to drive the whole application forward.
|
||||
* Stop worrying about an executing mechanism which is a mismatch to our world view.
|
||||
|
||||
### Usage of message passing avoids locking and blocking
|
||||
|
||||
Instead of calling methods, actors send messages to each other. Sending a message does not transfer the thread
|
||||
of execution from the sender to the destination. An actor can send a message and continue without blocking.
|
||||
Therefore, it can accomplish more in the same amount of time.
|
||||
|
||||
With objects, when a method returns, it releases control of its executing thread. In this respect, actors behave
|
||||
much like objects, they react to messages and return execution when they finish processing the current message.
|
||||
In this way, actors actually achieve the execution we imagined for objects:
|
||||
|
||||

|
||||
|
||||
An important difference between passing messages and calling methods is that messages have no return value.
|
||||
By sending a message, an actor delegates work to another actor. As we saw in @ref:[The illusion of a call stack](actors-motivation.md#the-illusion-of-a-call-stack),
|
||||
if it expected a return value, the sending actor would either need to block or to execute the other actor's work on the same thread.
|
||||
Instead, the receiving actor delivers the results in a reply message.
|
||||
|
||||
The second key change we need in our model is to reinstate encapsulation. Actors react to messages just like objects
|
||||
"react" to methods invoked on them. The difference is that instead of multiple threads "protruding" into our actor and
|
||||
wreaking havoc to internal state and invariants, actors execute independently from the senders of a message, and they
|
||||
react to incoming messages sequentially, one at a time. While each actor processes messages sent to it sequentially,
|
||||
different actors work concurrently with each other so that an actor system can process as many messages simultaneously as the hardware will support.
|
||||
|
||||
Since there is always at most one message being processed per actor,
|
||||
the invariants of an actor can be kept without synchronization. This happens automatically without using locks:
|
||||
|
||||

|
||||
|
||||
In summary, this is what happens when an actor receives a message:
|
||||
|
||||
1. The actor adds the message to the end of a queue.
|
||||
2. If the actor was not scheduled for execution, it is marked as ready to execute.
|
||||
3. A (hidden) scheduler entity takes the actor and starts executing it.
|
||||
4. Actor picks the message from the front of the queue.
|
||||
5. Actor modifies internal state, sends messages to other actors.
|
||||
6. The actor is unscheduled.
|
||||
|
||||
To accomplish this behavior, actors have:
|
||||
|
||||
* A mailbox (the queue where messages end up).
|
||||
* A behavior (the state of the actor, internal variables etc.).
|
||||
* Messages (pieces of data representing a signal, similar to method calls and their parameters).
|
||||
* An execution environment (the machinery that takes actors that have messages to react to and invokes
|
||||
their message handling code).
|
||||
* An address (more on this later).
|
||||
|
||||
Messages go into actor mailboxes. The behavior of the actor describes how the actor responds to
|
||||
messages (like sending more messages and/or changing state). An execution environment orchestrates a pool of threads
|
||||
to drive all these actions completely transparently.
|
||||
|
||||
This is a very simple model and it solves the issues enumerated previously:
|
||||
|
||||
* Encapsulation is preserved by decoupling execution from signaling (method calls transfer execution,
|
||||
message passing does not).
|
||||
* There is no need for locks. Modifying the internal state of an actor is only possible via messages, which are
|
||||
processed one at a time eliminating races when trying to keep invariants.
|
||||
* There are no locks used anywhere, and senders are not blocked. Millions of actors can be efficiently scheduled on a
|
||||
dozen of threads reaching the full potential of modern CPUs. Task delegation is the natural mode of operation for actors.
|
||||
* State of actors is local and not shared, changes and data is propagated via messages, which maps to how modern
|
||||
memory hierarchy actually works. In many cases, this means transferring over only the cache lines that contain the data in the message while keeping local state and data cached at the original core. The same model maps exactly to remote communication where the state is kept in the RAM of machines and changes/data is propagated over the network as packets.
|
||||
|
||||
### Actors handle error situations gracefully
|
||||
|
||||
Since we no longer have a shared call stack between actors that send messages to each other, we need to handle
|
||||
error situations differently. There are two kinds of errors we need to consider:
|
||||
|
||||
* The first case is when the delegated task on the target actor failed due to an error in the task (typically some
|
||||
validation issue, like a non-existent user ID). In this case, the service encapsulated by the target actor is intact,
|
||||
it is only the task that itself is erroneous.
|
||||
The service actor should reply to the sender with a message, presenting the error case. There is nothing special here, errors are part of the domain and hence become ordinary messages.
|
||||
* The second case is when a service itself encounters an internal fault. Akka enforces that all actors are organized
|
||||
into a tree-like hierarchy, i.e. an actor that creates another actor becomes the parent of that new actor. This is very similar how operating systems organize processes into a tree. Just like with processes, when an actor fails,
|
||||
its parent actor is notified and it can react to the failure. Also, if the parent actor is stopped,
|
||||
all of its children are recursively stopped, too. This service is called supervision and it is central to Akka.
|
||||
|
||||

|
||||
|
||||
A supervisor (parent) can decide to restart its child actors on certain types of failures or stop them completely on
|
||||
others. Children never go silently dead (with the notable exception of entering an infinite loop) instead they are
|
||||
either failing and their parent can react to the fault, or they are stopped (in which case interested parties are
|
||||
automatically notified). There is always a responsible entity for managing an actor: its parent. Restarts are not
|
||||
visible from the outside: collaborating actors can keep continuing sending messages while the target actor restarts.
|
||||
|
||||
Now, let's take a short tour of the functionality Akka provides.
|
||||
|
|
@ -1,159 +0,0 @@
|
|||
# Why modern systems need a new programming model
|
||||
|
||||
The actor model was proposed decades ago by @extref[Carl Hewitt](wikipedia:Carl_Hewitt#Actor_model) as a way to handle parallel processing in a high performance network — an environment that was not available at the time. Today, hardware and infrastructure capabilities have caught up with and exceeded Hewitt's vision. Consequently, organizations building distributed systems with demanding requirements encounter challenges that cannot fully be solved with a traditional object-oriented programming (OOP) model, but that can benefit from the actor model.
|
||||
|
||||
Today, the actor model is not only recognized as a highly effective solution — it has been proven in production for some of the world's most demanding applications. To highlight issues that the actor model addresses, this topic discusses the following mismatches between traditional programming assumptions and the reality of modern multi-threaded, multi-CPU architectures:
|
||||
|
||||
* [The challenge of encapsulation](#the-illusion-of-encapsulation)
|
||||
* [The illusion of shared memory on modern computer architectures](#The-illusion-of-shared-memory-on-modern-computer-architectures)
|
||||
* [The illusion of a call stack](#the-illusion-of-a-call-stack)
|
||||
|
||||
|
||||
## The challenge of encapsulation
|
||||
|
||||
A core pillar of OOP is _encapsulation_. Encapsulation dictates that the internal data of an object is not accessible directly from the outside;
|
||||
it can only be modified by invoking a set of curated methods. The object is responsible for exposing safe operations
|
||||
that protect the invariant nature of its encapsulated data.
|
||||
|
||||
For example, operations on an ordered binary tree implementation must not allow violation of the tree ordering
|
||||
invariant. Callers expect the ordering to be intact and when querying the tree for a certain piece of
|
||||
data, they need to be able to rely on this constraint.
|
||||
|
||||
When we analyze OOP runtime behavior, we sometimes draw a message sequence chart showing the interactions of
|
||||
method calls. For example:
|
||||
|
||||

|
||||
|
||||
Unfortunately, the above diagram does not accurately represent the _lifelines_ of the instances during execution.
|
||||
In reality, a _thread_ executes all these calls, and the enforcement of invariants occurs on the same thread from
|
||||
which the method was called. Updating the diagram with the thread of execution, it looks like this:
|
||||
|
||||

|
||||
|
||||
The significance of this clarification becomes clear when you try to model what happens with _multiple threads_.
|
||||
Suddenly, our neatly drawn diagram becomes inadequate. We can try to illustrate multiple threads accessing
|
||||
the same instance:
|
||||
|
||||

|
||||
|
||||
There is a section of execution where two threads enter the same method. Unfortunately, the encapsulation model
|
||||
of objects does not guarantee anything about what happens in that section. Instructions of the two invocations
|
||||
can be interleaved in arbitrary ways which eliminate any hope for keeping the invariants intact without some
|
||||
type of coordination between two threads. Now, imagine this issue compounded by the existence of many threads.
|
||||
|
||||
The common approach to solving this problem is to add a lock around these methods. While this ensures that at most
|
||||
one thread will enter the method at any given time, this is a very costly strategy:
|
||||
|
||||
* Locks _seriously limit_ concurrency, they are very costly on modern CPU architectures,
|
||||
requiring heavy-lifting from the operating system to suspend the thread and restore it later.
|
||||
* The caller thread is now blocked, so it cannot do any other meaningful work. Even in desktop applications this is
|
||||
unacceptable, we want to keep user-facing parts of applications (its UI) to be responsive even when a
|
||||
long background job is running. In the backend, blocking is outright wasteful.
|
||||
One might think that this can be compensated by launching new threads, but threads are also a costly abstraction.
|
||||
* Locks introduce a new menace: deadlocks.
|
||||
|
||||
These realities result in a no-win situation:
|
||||
|
||||
* Without sufficient locks, the state gets corrupted.
|
||||
* With many locks in place, performance suffers and very easily leads to deadlocks.
|
||||
|
||||
Additionally, locks only really work well locally. When it comes to coordinating across multiple machines,
|
||||
the only alternative is distributed locks. Unfortunately, distributed locks are several magnitudes less efficient
|
||||
than local locks and usually impose a hard limit on scaling out. Distributed lock protocols require several
|
||||
communication round-trips over the network across multiple machines, so latency goes through the roof.
|
||||
|
||||
In Object Oriented languages we rarely think about threads or linear execution paths in general.
|
||||
We often envision a system as a network of object instances that react to method calls, modify their internal state,
|
||||
then communicate with each other via method calls driving the whole application state forward:
|
||||
|
||||

|
||||
|
||||
However, in a multi-threaded distributed environment, what actually happens is that threads "traverse" this network of object instances by following method calls.
|
||||
As a result, threads are what really drive execution:
|
||||
|
||||

|
||||
|
||||
**In summary**:
|
||||
|
||||
* **Objects can only guarantee encapsulation (protection of invariants) in the face of single-threaded access,
|
||||
multi-thread execution almost always leads to corrupted internal state. Every invariant can be violated by
|
||||
having two contending threads in the same code segment.**
|
||||
* **While locks seem to be the natural remedy to uphold encapsulation with multiple threads, in practice they
|
||||
are inefficient and easily lead to deadlocks in any application of real-world scale.**
|
||||
* **Locks work locally, attempts to make them distributed exist, but offer limited potential for scaling out.**
|
||||
|
||||
## The illusion of shared memory on modern computer architectures
|
||||
|
||||
Programming models of the 80'-90's conceptualize that writing to a variable means writing to a memory location directly
|
||||
(which somewhat muddies the water that local variables might exist only in registers). On modern architectures -
|
||||
if we simplify things a bit - CPUs are writing to @extref[cache lines](wikipedia:CPU_cache)
|
||||
instead of writing to memory directly. Most of these caches are local to the CPU core, that is, writes by one core
|
||||
are not visible by another. In order to make local changes visible to another core, and hence to another thread,
|
||||
the cache line needs to be shipped to the other core's cache.
|
||||
|
||||
On the JVM, we have to explicitly denote memory locations to be shared across threads by using _volatile_ markers
|
||||
or `Atomic` wrappers. Otherwise, we can access them only in a locked section. Why don't we just mark all variables as
|
||||
volatile? Because shipping cache lines across cores is a very costly operation! Doing so would implicitly stall the cores
|
||||
involved from doing additional work, and result in bottlenecks on the cache coherence protocol (the protocol CPUs
|
||||
use to transfer cache lines between main memory and other CPUs).
|
||||
The result is magnitudes of slowdown.
|
||||
|
||||
Even for developers aware of this situation, figuring out which memory locations should be marked as volatile,
|
||||
or which atomic structures to use is a dark art.
|
||||
|
||||
**In summary**:
|
||||
|
||||
* **There is no real shared memory anymore, CPU cores pass chunks of data (cache lines) explicitly to each other
|
||||
just as computers on a network do. Inter-CPU communication and network communication have more in common than many realize. Passing messages is the norm now be it across CPUs or networked computers.**
|
||||
* **Instead of hiding the message passing aspect through variables marked as shared or using atomic data structures,
|
||||
a more disciplined and principled approach is to keep state local to a concurrent entity and propagate data or events
|
||||
between concurrent entities explicitly via messages.**
|
||||
|
||||
## The illusion of a call stack
|
||||
|
||||
Today, we often take call stacks for granted. But, they were invented in an era where concurrent programming
|
||||
was not as important because multi-CPU systems were not common. Call stacks do not cross threads and hence,
|
||||
do not model asynchronous call chains.
|
||||
|
||||
The problem arises when a thread intends to delegate a task to the "background". In practice, this really means
|
||||
delegating to another thread. This cannot be a simple method/function call because calls are strictly local to the
|
||||
thread. What usually happens, is that the "caller" puts an object into a memory location shared by a worker thread
|
||||
("callee"), which in turn, picks it up in some event loop. This allows the "caller" thread to move on and do other tasks.
|
||||
|
||||
The first issue is, how can the "caller" be notified of the completion of the task? But a more serious issue arises
|
||||
when a task fails with an exception. Where does the exception propagate to? It will propagate to the exception handler
|
||||
of the worker thread completely ignoring who the actual "caller" was:
|
||||
|
||||

|
||||
|
||||
This is a serious problem. How does the worker thread deal with the situation? It likely cannot fix the issue as it is
|
||||
usually oblivious of the purpose of the failed task. The "caller" thread needs to be notified somehow,
|
||||
but there is no call stack to unwind with an exception. Failure notification can only be done via a side-channel,
|
||||
for example putting an error code where the "caller" thread otherwise expects the result once ready.
|
||||
If this notification is not in place, the "caller" never gets notified of a failure and the task is lost!
|
||||
**This is surprisingly similar to how networked systems work where messages/requests can get lost/fail without any
|
||||
notification.**
|
||||
|
||||
This bad situation gets worse when things go really wrong and a worker backed by a thread encounters a bug and ends
|
||||
up in an unrecoverable situation. For example, an internal exception caused by a bug bubbles up to the root of
|
||||
the thread and makes the thread shut down. This immediately raises the question, who should restart the normal operation
|
||||
of the service hosted by the thread, and how should it be restored to a known-good state? At first glance,
|
||||
this might seem manageable, but we are suddenly faced by a new, unexpected phenomena: the actual task,
|
||||
that the thread was currently working on, is no longer in the shared memory location where tasks are taken from
|
||||
(usually a queue). In fact, due to the exception reaching to the top, unwinding all of the call stack,
|
||||
the task state is fully lost! **We have lost a message even though this is local communication with no networking
|
||||
involved (where message losses are to be expected).**
|
||||
|
||||
**In summary:**
|
||||
|
||||
* **To achieve any meaningful concurrency and performance on current systems, threads must delegate tasks among each
|
||||
other in an efficient way without blocking. With this style of task-delegating concurrency
|
||||
(and even more so with networked/distributed computing) call stack-based error handling breaks down and new,
|
||||
explicit error signaling mechanisms need to be introduced. Failures become part of the domain model.**
|
||||
* **Concurrent systems with work delegation needs to handle service faults and have principled means to recover from them.
|
||||
Clients of such services need to be aware that tasks/messages might get lost during restarts.
|
||||
Even if loss does not happen, a response might be delayed arbitrarily due to previously enqueued tasks
|
||||
(a long queue), delays caused by garbage collection, etc. In face of these, concurrent systems should handle response
|
||||
deadlines in the form of timeouts, just like networked/distributed systems.**
|
||||
|
||||
Next, let's see how use of the actor model can overcome these challenges.
|
||||
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -1,292 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg5272"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="actor_graph.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\actor_graph.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs5266">
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6395"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6393" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6289"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6287" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6195"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6193" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6113"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6111" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6043"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6041" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5985"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5983" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5939"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5937" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5905"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5903" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
id="path4538"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.701616"
|
||||
inkscape:cx="440.25829"
|
||||
inkscape:cy="704.01713"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-others="true"
|
||||
inkscape:snap-nodes="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5269">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<circle
|
||||
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;fill:#204a87;fill-opacity:1"
|
||||
id="path5282"
|
||||
cx="60.361256"
|
||||
cy="41.591621"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="31.916229"
|
||||
cx="92.026176"
|
||||
id="circle5827"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5829"
|
||||
cx="100.1623"
|
||||
cy="56.10471"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="62.041882"
|
||||
cx="63.219891"
|
||||
id="circle5831"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5833"
|
||||
cx="96.643974"
|
||||
cy="80.952873"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="45.10994"
|
||||
cx="134.24606"
|
||||
id="circle5835"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5837"
|
||||
cx="118.6335"
|
||||
cy="66.87957"
|
||||
r="1.8691099" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6195)"
|
||||
d="m 62.195778,40.908877 27.832613,-8.24094"
|
||||
id="path5873"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5985)"
|
||||
d="M 93.915626,32.201469 132.32152,44.174155"
|
||||
id="path5875"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6043)"
|
||||
d="m 92.671711,33.756361 6.686045,20.369117"
|
||||
id="path5877"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5939)"
|
||||
d="m 101.53461,57.390757 15.08247,8.862898"
|
||||
id="path5879"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5905)"
|
||||
d="M 120.03785,65.320719 132.94348,46.661985"
|
||||
id="path5881"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6113)"
|
||||
d="M 64.8391,62.05544 98.269331,56.45782"
|
||||
id="path5883"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6395)"
|
||||
d="M 64.994588,62.832889 94.848562,80.403196"
|
||||
id="path5885"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
|
||||
d="M 98.113841,80.869665 117.39453,68.585997"
|
||||
id="path5887"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6289)"
|
||||
d="M 62.506759,60.034079 60.640885,43.552197"
|
||||
id="path5889"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="71.680634"
|
||||
y="87.711205"
|
||||
id="text6531"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6529"
|
||||
x="71.680634"
|
||||
y="87.711205"
|
||||
style="font-size:3.52777767px;stroke-width:0.26458332">Actors interacting with each other</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="71.680634"
|
||||
y="92.120926"
|
||||
style="font-size:3.52777767px;stroke-width:0.26458332"
|
||||
id="tspan9309">by sending messages to each other</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
|
@ -1,365 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="actor_top_tree.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\actor_top_tree.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2">
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker1768"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#ce5c00;stroke-width:1pt;stroke-opacity:1;fill:#ce5c00;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path1766" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
id="path1451"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#ce5c00;stroke-width:1pt;stroke-opacity:1;fill:#ce5c00;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="361.19423"
|
||||
inkscape:cy="627.74786"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-global="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
showguides="false" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<flowRoot
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
id="flowRoot208"
|
||||
xml:space="preserve"><flowRegion
|
||||
id="flowRegion210"
|
||||
style="stroke-width:0.26458332"><rect
|
||||
y="98.214661"
|
||||
x="71.68586"
|
||||
height="26.387434"
|
||||
width="98.073303"
|
||||
id="rect212"
|
||||
style="stroke-width:0.26458332" /></flowRegion><flowPara
|
||||
id="flowPara214"
|
||||
style="stroke-width:0.26458332" /></flowRoot> <circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path391"
|
||||
cx="82.744453"
|
||||
cy="104.15183"
|
||||
r="5.2774868" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="83.69178"
|
||||
y="91.837692"
|
||||
id="text395"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan393"
|
||||
x="84.220947"
|
||||
y="91.837692"
|
||||
style="text-align:center;text-anchor:middle;stroke-width:0.26458332">/ </tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="83.69178"
|
||||
y="97.129356"
|
||||
style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, Italic';text-align:center;text-anchor:middle;stroke-width:0.26458332"
|
||||
id="tspan489">(root guardian)</tspan></text>
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="128.56021"
|
||||
cx="66.252312"
|
||||
id="circle397"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle403"
|
||||
cx="121.81485"
|
||||
cy="128.56021"
|
||||
r="5.2774868" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle409"
|
||||
cx="49.848129"
|
||||
cy="152.37239"
|
||||
r="5.2774868" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="152.37239"
|
||||
cx="65.193977"
|
||||
id="circle411"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#888a85;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#888a85;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle413"
|
||||
cx="85.30233"
|
||||
cy="152.37239"
|
||||
r="5.2774868" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#888a85;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
x="73.728752"
|
||||
y="152.74869"
|
||||
id="text417"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan415"
|
||||
x="73.728752"
|
||||
y="152.74869"
|
||||
style="stroke-width:0.26458332;fill:#888a85;">...</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 69.267016,124.1623 80.041884,108.76963"
|
||||
id="path451"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 87.518324,107.01047 29.905756,18.03141"
|
||||
id="path453"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 52.554973,147.25131 9.895289,-14.73299"
|
||||
id="path455"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 64.869109,147.03141 65.528795,133.6178"
|
||||
id="path457"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 70.366492,132.73822 82.680626,147.6911"
|
||||
id="path459"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 107.74869,148.57068 10.33508,-16.49215"
|
||||
id="path461"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 122.04188,147.91099 0.2199,-14.29319"
|
||||
id="path463"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 126.43979,131.41885 12.31413,17.81151"
|
||||
id="path465"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="44.856571"
|
||||
y="126.29028"
|
||||
id="text395-2"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan393-2"
|
||||
x="44.856571"
|
||||
y="126.29028"
|
||||
style="text-align:center;text-anchor:middle;stroke-width:0.26458332">/user</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="44.856571"
|
||||
y="131.58195"
|
||||
style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, Italic';text-align:center;text-anchor:middle;stroke-width:0.26458332"
|
||||
id="tspan489-1">(user guardian)</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="147.07378"
|
||||
y="126.51018"
|
||||
id="text395-2-5"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan393-2-5"
|
||||
x="147.07378"
|
||||
y="126.51018"
|
||||
style="text-align:center;text-anchor:middle;stroke-width:0.26458332">/system</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="147.07378"
|
||||
y="131.80185"
|
||||
style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, Italic';text-align:center;text-anchor:middle;stroke-width:0.26458332"
|
||||
id="tspan489-1-6">(system guardian)</tspan></text>
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="152.63344"
|
||||
cx="106.36122"
|
||||
id="circle437"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#888a85;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#888a85;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle439"
|
||||
cx="121.70707"
|
||||
cy="152.63344"
|
||||
r="5.2774868" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="152.63344"
|
||||
cx="141.81541"
|
||||
id="circle441"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#888a85;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text445"
|
||||
y="153.00974"
|
||||
x="130.24184"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#888a85;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332;fill:#888a85;"
|
||||
y="153.00974"
|
||||
x="130.24184"
|
||||
id="tspan443"
|
||||
sodipodi:role="line">...</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
x="46.837696"
|
||||
y="163.83282"
|
||||
id="text543"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan541"
|
||||
x="46.837696"
|
||||
y="163.83282"
|
||||
style="stroke-width:0.26458332;fill:#000000;">/user/someActor</tspan></text>
|
||||
<text
|
||||
id="text547"
|
||||
y="163.61293"
|
||||
x="84.082283"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#888a85;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="fill:#888a85;stroke-width:0.26458332"
|
||||
y="163.61293"
|
||||
x="84.082283"
|
||||
id="tspan545"
|
||||
sodipodi:role="line">/user/another</tspan></text>
|
||||
<text
|
||||
id="text551"
|
||||
y="163.48241"
|
||||
x="141.85933"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#888a85;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332;fill:#888a85;"
|
||||
y="163.48241"
|
||||
x="141.85933"
|
||||
id="tspan549"
|
||||
sodipodi:role="line">/system/someInternalActor</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 49.785712,157.58638 v 2.63875"
|
||||
id="path559"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:1.58999992,1.58999992;stroke-dashoffset:0"
|
||||
d="M 14.732984,141.31413 H 183.39267"
|
||||
id="path627"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 49.696335,165.06282 v 13.41362"
|
||||
id="path1440"
|
||||
inkscape:connector-curvature="0" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="176.71373"
|
||||
cx="49.628235"
|
||||
id="circle1438"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text1444"
|
||||
y="187.11584"
|
||||
x="46.837696"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
xml:space="preserve"><tspan
|
||||
style="fill:#000000;stroke-width:0.26458332;"
|
||||
y="187.11584"
|
||||
x="46.837696"
|
||||
id="tspan1442"
|
||||
sodipodi:role="line">/user/someActor/someChild</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ce5c00;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
|
||||
d="M 13.413613,152.52879 H 43.539267"
|
||||
id="path1446"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#ce5c00;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
x="26.607328"
|
||||
y="149.67015"
|
||||
id="text1732"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1730"
|
||||
x="26.607328"
|
||||
y="149.67015"
|
||||
style="stroke-width:0.26458332;fill:#ce5c00;">system.actorOf()</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ce5c00;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker1768)"
|
||||
d="m 31.884815,171.43979 v 5.93717 h 12.314137"
|
||||
id="path1758"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#ce5c00;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="24.195574"
|
||||
y="169.90053"
|
||||
id="text1796"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1794"
|
||||
x="24.195574"
|
||||
y="169.90053"
|
||||
style="fill:#ce5c00;stroke-width:0.26458332">context.actorOf()</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
|
@ -1,218 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg11670"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="actor_tree_supervision.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\actor_tree_supervision.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs11664">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="marker12435"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path12433"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#ef2929;stroke-width:1pt;stroke-opacity:1;fill:#ef2929;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lstart"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lstart"
|
||||
style="overflow:visible"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path4535"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#ef2929;stroke-width:1pt;stroke-opacity:1;fill:#ef2929;fill-opacity:1"
|
||||
transform="scale(0.8) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path4538"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#ef2929;stroke-width:1pt;stroke-opacity:1;fill:#ef2929;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="272.6009"
|
||||
inkscape:cy="561.25984"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-global="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata11667">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path11672"
|
||||
cx="46.727749"
|
||||
cy="27.738218"
|
||||
r="2.7486913" />
|
||||
<circle
|
||||
r="2.7486913"
|
||||
cy="53.667408"
|
||||
cx="34.556904"
|
||||
id="circle12217"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle12219"
|
||||
cx="44.61108"
|
||||
cy="53.667408"
|
||||
r="2.7486913" />
|
||||
<circle
|
||||
r="2.7486913"
|
||||
cy="53.667408"
|
||||
cx="54.665257"
|
||||
id="circle12221"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#cc0000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle12223"
|
||||
cx="64.719429"
|
||||
cy="53.667408"
|
||||
r="2.7486913" />
|
||||
<circle
|
||||
r="2.7486913"
|
||||
cy="53.667408"
|
||||
cx="64.719429"
|
||||
id="circle12225"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 44.948014,29.916602 35.842932,50.257614"
|
||||
id="path12227"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 46.178009,30.04712 44.638743,50.037716"
|
||||
id="path12229"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 49.036649,29.476811 15.612565,20.34101"
|
||||
id="path12233"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker12435)"
|
||||
d="M 53.214658,50.257614 47.717278,30.486911"
|
||||
id="path12431"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333333px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
x="52.774868"
|
||||
y="28.507854"
|
||||
id="text12655"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan12653"
|
||||
x="52.774868"
|
||||
y="31.723831"
|
||||
style="stroke-width:0.26458332;font-size:4.23333333px;" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="55.193718"
|
||||
y="28.507854"
|
||||
id="text12659"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan12657"
|
||||
x="55.193718"
|
||||
y="28.507854"
|
||||
style="stroke-width:0.26458332">Parents supervise</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="55.193718"
|
||||
y="32.917576"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan12661">children</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="54.094238"
|
||||
y="61.272247"
|
||||
id="text12665"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan12663"
|
||||
x="54.094238"
|
||||
y="61.272247"
|
||||
style="stroke-width:0.26458332">Parents are notified</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="54.094238"
|
||||
y="65.681969"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan12667">when child fail</tspan></text>
|
||||
<circle
|
||||
r="2.7486913"
|
||||
cy="11.863211"
|
||||
cx="57.311092"
|
||||
id="circle12669"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 48.287587,24.900152 55.324236,14.65445"
|
||||
id="path12671"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
|
@ -1,387 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="arch_boxes_diagram.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\arch_boxes_diagram.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="275.03574"
|
||||
inkscape:cy="561.25984"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-global="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
ry="4.6177988"
|
||||
rx="4.6177988"
|
||||
y="16.853403"
|
||||
x="90.596855"
|
||||
height="68.827225"
|
||||
width="60.251305"
|
||||
id="rect106"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect14"
|
||||
width="77.183243"
|
||||
height="68.827225"
|
||||
x="5.7172775"
|
||||
y="16.633509"
|
||||
rx="4.6177988"
|
||||
ry="4.6177988" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="10.335078"
|
||||
y="14.214661"
|
||||
id="text20"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan18"
|
||||
x="10.335078"
|
||||
y="14.214661"
|
||||
style="font-size:4.23333311px;stroke-width:0.26458332">Device Manager</tspan></text>
|
||||
<g
|
||||
id="g72">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect24"
|
||||
width="29.90576"
|
||||
height="49.036644"
|
||||
x="12.534031"
|
||||
y="29.387434"
|
||||
rx="4.6177988"
|
||||
ry="4.6177983" />
|
||||
<text
|
||||
id="text28"
|
||||
y="27.195574"
|
||||
x="13.983922"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="font-size:4.23333311px;stroke-width:0.26458332"
|
||||
y="27.195574"
|
||||
x="13.983922"
|
||||
id="tspan26"
|
||||
sodipodi:role="line">Device Group</tspan></text>
|
||||
<g
|
||||
id="g39">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect30"
|
||||
width="23.308901"
|
||||
height="8.795804"
|
||||
x="15.83246"
|
||||
y="37.743454"
|
||||
rx="4.6177988"
|
||||
ry="4.6177983" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="21.769634"
|
||||
y="43.240841"
|
||||
id="text34"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan32"
|
||||
x="21.769634"
|
||||
y="43.240841"
|
||||
style="stroke-width:0.26458332">Device</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
transform="translate(-0.26458334,12.435418)"
|
||||
id="g47">
|
||||
<rect
|
||||
ry="4.6177983"
|
||||
rx="4.6177988"
|
||||
y="37.743454"
|
||||
x="15.83246"
|
||||
height="8.795804"
|
||||
width="23.308901"
|
||||
id="rect41"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text45"
|
||||
y="43.240841"
|
||||
x="21.769634"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="43.240841"
|
||||
x="21.769634"
|
||||
id="tspan43"
|
||||
sodipodi:role="line">Device</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g55"
|
||||
transform="translate(-0.52916667,24.870843)">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect49"
|
||||
width="23.308901"
|
||||
height="8.795804"
|
||||
x="15.83246"
|
||||
y="37.743454"
|
||||
rx="4.6177988"
|
||||
ry="4.6177983" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="21.769634"
|
||||
y="43.240841"
|
||||
id="text53"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan51"
|
||||
x="21.769634"
|
||||
y="43.240841"
|
||||
style="stroke-width:0.26458332">Device</tspan></text>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
transform="translate(43.638543,-78.413241)"
|
||||
id="g219">
|
||||
<rect
|
||||
ry="4.6177983"
|
||||
rx="4.6177988"
|
||||
y="106.57068"
|
||||
x="49.696335"
|
||||
height="8.795804"
|
||||
width="23.308901"
|
||||
id="rect176"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text180"
|
||||
y="112.06807"
|
||||
x="55.633507"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="112.06807"
|
||||
x="55.633507"
|
||||
id="tspan178"
|
||||
sodipodi:role="line">User 1</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
transform="translate(41.810569,-78.413241)"
|
||||
id="g225">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect190"
|
||||
width="23.308901"
|
||||
height="8.795804"
|
||||
x="77.842934"
|
||||
y="106.35078"
|
||||
rx="4.6177988"
|
||||
ry="4.6177983" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="83.780106"
|
||||
y="111.84818"
|
||||
id="text194"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan192"
|
||||
x="83.780106"
|
||||
y="111.84818"
|
||||
style="stroke-width:0.26458332">User 2</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="83.780106"
|
||||
y="116.2579"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan196" /></text>
|
||||
</g>
|
||||
<g
|
||||
transform="translate(-11.394813,-66.771567)"
|
||||
id="g232">
|
||||
<rect
|
||||
ry="4.6177983"
|
||||
rx="4.6177988"
|
||||
y="106.35078"
|
||||
x="104.45026"
|
||||
height="8.795804"
|
||||
width="23.308901"
|
||||
id="rect198"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text204"
|
||||
y="111.84818"
|
||||
x="110.38743"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="111.84818"
|
||||
x="110.38743"
|
||||
id="tspan200"
|
||||
sodipodi:role="line">User 3</tspan><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="116.2579"
|
||||
x="110.38743"
|
||||
sodipodi:role="line"
|
||||
id="tspan206" /><tspan
|
||||
id="tspan202"
|
||||
style="stroke-width:0.26458332"
|
||||
y="120.66763"
|
||||
x="110.38743"
|
||||
sodipodi:role="line" /></text>
|
||||
</g>
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect74"
|
||||
width="29.90576"
|
||||
height="49.036644"
|
||||
x="45.871548"
|
||||
y="29.916601"
|
||||
rx="4.6177988"
|
||||
ry="4.6177983" />
|
||||
<text
|
||||
id="text78"
|
||||
y="27.724741"
|
||||
x="47.321438"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="font-size:4.23333311px;stroke-width:0.26458332"
|
||||
y="27.724741"
|
||||
x="47.321438"
|
||||
id="tspan76"
|
||||
sodipodi:role="line">Device Group</tspan></text>
|
||||
<rect
|
||||
ry="4.6177983"
|
||||
rx="4.6177988"
|
||||
y="38.272621"
|
||||
x="49.169975"
|
||||
height="8.795804"
|
||||
width="23.308901"
|
||||
id="rect80"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text84"
|
||||
y="43.770008"
|
||||
x="55.107151"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="43.770008"
|
||||
x="55.107151"
|
||||
id="tspan82"
|
||||
sodipodi:role="line">Device</tspan></text>
|
||||
<g
|
||||
transform="translate(33.072932,12.964585)"
|
||||
id="g94">
|
||||
<rect
|
||||
ry="4.6177983"
|
||||
rx="4.6177988"
|
||||
y="37.743454"
|
||||
x="15.83246"
|
||||
height="8.795804"
|
||||
width="23.308901"
|
||||
id="rect88"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text92"
|
||||
y="43.240841"
|
||||
x="21.769634"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="43.240841"
|
||||
x="21.769634"
|
||||
id="tspan90"
|
||||
sodipodi:role="line">Device</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g102"
|
||||
transform="translate(32.808348,25.40001)">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect96"
|
||||
width="23.308901"
|
||||
height="8.795804"
|
||||
x="15.83246"
|
||||
y="37.743454"
|
||||
rx="4.6177988"
|
||||
ry="4.6177983" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="21.769634"
|
||||
y="43.240841"
|
||||
id="text100"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan98"
|
||||
x="21.769634"
|
||||
y="43.240841"
|
||||
style="stroke-width:0.26458332">Device</tspan></text>
|
||||
</g>
|
||||
<flowRoot
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
id="flowRoot208"
|
||||
xml:space="preserve"><flowRegion
|
||||
id="flowRegion210"
|
||||
style="stroke-width:0.26458332"><rect
|
||||
y="98.214661"
|
||||
x="71.68586"
|
||||
height="26.387434"
|
||||
width="98.073303"
|
||||
id="rect212"
|
||||
style="stroke-width:0.26458332" /></flowRegion><flowPara
|
||||
id="flowPara214"
|
||||
style="stroke-width:0.26458332" /></flowRoot> <text
|
||||
id="text110"
|
||||
y="14.434556"
|
||||
x="95.214661"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="font-size:4.23333311px;stroke-width:0.26458332"
|
||||
y="14.434556"
|
||||
x="95.214661"
|
||||
id="tspan108"
|
||||
sodipodi:role="line">User Dashboards</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 75.863872,43.680628 H 93.015706"
|
||||
id="path267"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 41 KiB |
|
|
@ -1,354 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="arch_tree_diagram.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\arch_tree_diagram.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="236.94473"
|
||||
inkscape:cy="627.74786"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-global="true"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<flowRoot
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
id="flowRoot208"
|
||||
xml:space="preserve"><flowRegion
|
||||
id="flowRegion210"
|
||||
style="stroke-width:0.26458332"><rect
|
||||
y="98.214661"
|
||||
x="71.68586"
|
||||
height="26.387434"
|
||||
width="98.073303"
|
||||
id="rect212"
|
||||
style="stroke-width:0.26458332" /></flowRegion><flowPara
|
||||
id="flowPara214"
|
||||
style="stroke-width:0.26458332" /></flowRoot> <circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path391"
|
||||
cx="82.744453"
|
||||
cy="104.15183"
|
||||
r="5.2774868" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="92.419861"
|
||||
y="105.4712"
|
||||
id="text395"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan393"
|
||||
x="92.419861"
|
||||
y="105.4712"
|
||||
style="stroke-width:0.26458332">IoTSupervisor</tspan></text>
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="128.56021"
|
||||
cx="66.252312"
|
||||
id="circle397"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="30.409365"
|
||||
y="130.09947"
|
||||
id="text401"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan399"
|
||||
x="30.409365"
|
||||
y="130.09947"
|
||||
style="stroke-width:0.26458332">DeviceManager</tspan></text>
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle403"
|
||||
cx="121.81485"
|
||||
cy="128.56021"
|
||||
r="5.2774868" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="131.04045"
|
||||
y="130.09947"
|
||||
id="text407"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan405"
|
||||
x="131.04045"
|
||||
y="130.09947"
|
||||
style="stroke-width:0.26458332">DashboardManager</tspan></text>
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle409"
|
||||
cx="49.848129"
|
||||
cy="152.37239"
|
||||
r="5.2774868" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="152.37239"
|
||||
cx="65.193977"
|
||||
id="circle411"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle413"
|
||||
cx="85.30233"
|
||||
cy="152.37239"
|
||||
r="5.2774868" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="73.728752"
|
||||
y="152.74869"
|
||||
id="text417"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan415"
|
||||
x="73.728752"
|
||||
y="152.74869"
|
||||
style="stroke-width:0.26458332">...</tspan></text>
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="180.94701"
|
||||
cx="33.443947"
|
||||
id="circle419"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle421"
|
||||
cx="48.789795"
|
||||
cy="180.94701"
|
||||
r="5.2774868" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="180.94701"
|
||||
cx="68.898148"
|
||||
id="circle423"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text427"
|
||||
y="181.3233"
|
||||
x="57.32457"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="181.3233"
|
||||
x="57.32457"
|
||||
id="tspan425"
|
||||
sodipodi:role="line">...</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="14.513088"
|
||||
y="153.84816"
|
||||
id="text431"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan429"
|
||||
x="14.513088"
|
||||
y="153.84816"
|
||||
style="stroke-width:0.26458332">DeviceGroup(s)</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="9.8952875"
|
||||
y="182.43456"
|
||||
id="text435"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan433"
|
||||
x="9.8952875"
|
||||
y="182.43456"
|
||||
style="stroke-width:0.26458332">Device(s)</tspan></text>
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="153.69176"
|
||||
cx="106.36122"
|
||||
id="circle437"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle439"
|
||||
cx="121.70707"
|
||||
cy="153.69176"
|
||||
r="5.2774868" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="153.69176"
|
||||
cx="141.81541"
|
||||
id="circle441"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text445"
|
||||
y="154.06805"
|
||||
x="130.24184"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="154.06805"
|
||||
x="130.24184"
|
||||
id="tspan443"
|
||||
sodipodi:role="line">...</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="151.94763"
|
||||
y="154.72775"
|
||||
id="text449"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan447"
|
||||
x="151.94763"
|
||||
y="154.72775"
|
||||
style="stroke-width:0.26458332">UserDashboard(s)</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 69.267016,124.1623 80.041884,108.76963"
|
||||
id="path451"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 87.518324,107.01047 29.905756,18.03141"
|
||||
id="path453"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 52.554973,147.25131 9.895289,-14.73299"
|
||||
id="path455"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 64.869109,147.03141 65.528795,133.6178"
|
||||
id="path457"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 70.366492,132.73822 82.680626,147.6911"
|
||||
id="path459"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 107.74869,148.57068 10.33508,-16.49215"
|
||||
id="path461"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 122.04188,147.91099 0.2199,-14.29319"
|
||||
id="path463"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 126.43979,131.41885 12.31413,17.81151"
|
||||
id="path465"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 34.743456,176.27748 46.617799,156.26701"
|
||||
id="path467"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 48.816754,175.6178 0.439791,-18.25131"
|
||||
id="path469"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 66.408376,175.6178 53.434553,156.04712"
|
||||
id="path471"
|
||||
inkscape:connector-curvature="0" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="78.863876"
|
||||
cx="100.11618"
|
||||
id="circle473"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#888a85;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#888a85;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle475"
|
||||
cx="115.94864"
|
||||
cy="57.534035"
|
||||
r="5.2774868" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#888a85;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="117.36957"
|
||||
y="44.560207"
|
||||
id="text479"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan477"
|
||||
x="117.89874"
|
||||
y="44.560207"
|
||||
style="font-size:4.23333311px;text-align:center;text-anchor:middle;fill:#888a85;stroke-width:0.26458332">/ </tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="117.36957"
|
||||
y="49.851875"
|
||||
style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, Italic';text-align:center;text-anchor:middle;fill:#888a85;stroke-width:0.26458332"
|
||||
id="tspan623">(root guardian)</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#888a85;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="79.197746"
|
||||
y="77.633873"
|
||||
id="text483"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan481"
|
||||
x="79.197746"
|
||||
y="77.633873"
|
||||
style="text-align:center;text-anchor:middle;fill:#888a85;stroke-width:0.26458332">/user</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="79.197746"
|
||||
y="82.925537"
|
||||
style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, Italic';text-align:center;text-anchor:middle;fill:#888a85;stroke-width:0.26458332"
|
||||
id="tspan625">(user guardian)</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 86.418848,99.753924 97.193715,83.261778"
|
||||
id="path485"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 103.4813,74.596486 9.76477,-13.104341"
|
||||
id="path487"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
|
@ -1,200 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="device_manager_tree.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\device_manager_tree.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="265.9979"
|
||||
inkscape:cy="627.74786"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-global="true"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<flowRoot
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
id="flowRoot208"
|
||||
xml:space="preserve"><flowRegion
|
||||
id="flowRegion210"
|
||||
style="stroke-width:0.26458332"><rect
|
||||
y="98.214661"
|
||||
x="71.68586"
|
||||
height="26.387434"
|
||||
width="98.073303"
|
||||
id="rect212"
|
||||
style="stroke-width:0.26458332" /></flowRegion><flowPara
|
||||
id="flowPara214"
|
||||
style="stroke-width:0.26458332" /></flowRoot> <circle
|
||||
r="5.2774868"
|
||||
cy="128.56021"
|
||||
cx="66.252312"
|
||||
id="circle397"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="30.409365"
|
||||
y="130.09947"
|
||||
id="text401"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan399"
|
||||
x="30.409365"
|
||||
y="130.09947"
|
||||
style="stroke-width:0.26458332">DeviceManager</tspan></text>
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle409"
|
||||
cx="49.848129"
|
||||
cy="152.37239"
|
||||
r="5.2774868" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="152.37239"
|
||||
cx="65.193977"
|
||||
id="circle411"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle413"
|
||||
cx="85.30233"
|
||||
cy="152.37239"
|
||||
r="5.2774868" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="73.728752"
|
||||
y="152.74869"
|
||||
id="text417"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan415"
|
||||
x="73.728752"
|
||||
y="152.74869"
|
||||
style="stroke-width:0.26458332">...</tspan></text>
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="180.94701"
|
||||
cx="33.443947"
|
||||
id="circle419"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="circle421"
|
||||
cx="48.789795"
|
||||
cy="180.94701"
|
||||
r="5.2774868" />
|
||||
<circle
|
||||
r="5.2774868"
|
||||
cy="180.94701"
|
||||
cx="68.898148"
|
||||
id="circle423"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<text
|
||||
id="text427"
|
||||
y="181.3233"
|
||||
x="57.32457"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="181.3233"
|
||||
x="57.32457"
|
||||
id="tspan425"
|
||||
sodipodi:role="line">...</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="14.513088"
|
||||
y="153.84816"
|
||||
id="text431"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan429"
|
||||
x="14.513088"
|
||||
y="153.84816"
|
||||
style="stroke-width:0.26458332">DeviceGroup(s)</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="9.8952875"
|
||||
y="182.43456"
|
||||
id="text435"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan433"
|
||||
x="9.8952875"
|
||||
y="182.43456"
|
||||
style="stroke-width:0.26458332">Device(s)</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 52.554973,147.25131 9.895289,-14.73299"
|
||||
id="path455"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 64.869109,147.03141 65.528795,133.6178"
|
||||
id="path457"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 70.366492,132.73822 82.680626,147.6911"
|
||||
id="path459"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 34.743456,176.27748 46.617799,156.26701"
|
||||
id="path467"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 48.816754,175.6178 0.439791,-18.25131"
|
||||
id="path469"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 66.408376,175.6178 53.434553,156.04712"
|
||||
id="path471"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
|
@ -1,341 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg7567"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="exception_prop.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\exception_prop.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs7561">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="marker8891"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path8889"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#ef2929;stroke-width:1pt;stroke-opacity:1;fill:#ef2929;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker8773"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path8771" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="marker8630"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
id="path8628"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker8536"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path8534" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
id="path4538"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="382.30614"
|
||||
inkscape:cy="561.25984"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-global="true"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7564">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#4e9a06;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 26.827226,29.167539 c 11.616918,3.628366 22.736445,6.475619 33.875951,9.084087 3.577549,0.614344 8.147164,2.879757 6.922421,7.200525 -2.813465,2.8079 -7.34477,2.784194 -11.075523,3.303108 -15.213393,2.396974 -22.444912,-1.165584 -24.365284,5.565909 -3.250223,12.181736 -3.688159,40.709006 -3.694871,60.385642"
|
||||
id="path8744"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#5c3566;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 91.696335,29.60733 c -0.09731,14.866117 -3.790797,41.432538 -0.745773,45.867135 3.045024,4.434597 11.925348,3.132963 15.367578,5.498867 3.70834,4.442242 2.90962,11.913596 2.31013,17.681116 -1.6162,4.324782 -6.7601,5.044172 -10.756166,5.695872 -2.912244,0.42456 -8.090066,0.5024 -7.325123,4.79698 -0.736747,2.55575 -0.925842,5.22216 0.04988,7.75846"
|
||||
id="path9051"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="czccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 29.685863,28.727749 V 115.58639"
|
||||
id="path7569"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="19.130892"
|
||||
y="25.649216"
|
||||
id="text7573"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan7571"
|
||||
x="19.130892"
|
||||
y="25.649216"
|
||||
style="stroke-width:0.26458332">Main Thread</tspan></text>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path7575"
|
||||
d="M 93.185903,28.727749 V 115.58639"
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<text
|
||||
id="text7579"
|
||||
y="25.649216"
|
||||
x="82.630951"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="25.649216"
|
||||
x="82.630951"
|
||||
sodipodi:role="line"
|
||||
id="tspan7581">Worker Thread</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.23357662;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
|
||||
d="m 29.679084,31.606532 37.598718,9.736533"
|
||||
id="path7585"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="43.871841"
|
||||
y="25.99799"
|
||||
id="text8176"
|
||||
transform="rotate(14.793739)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan8174"
|
||||
x="43.871841"
|
||||
y="25.99799"
|
||||
style="stroke-width:0.26458332">delegates work</tspan></text>
|
||||
<rect
|
||||
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.42463112;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect8250"
|
||||
width="19.426153"
|
||||
height="7.7717032"
|
||||
x="67.350067"
|
||||
y="37.527588" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="72.159706"
|
||||
y="41.90728"
|
||||
id="text8488"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan8486"
|
||||
x="72.159706"
|
||||
y="41.90728"
|
||||
style="stroke-width:0.26458332">queue</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker8536)"
|
||||
d="M 67.350065,43.711788 29.815728,50.981461"
|
||||
id="path8526"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="73.005234"
|
||||
y="75.125656"
|
||||
id="text8742"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan8740"
|
||||
x="73.005234"
|
||||
y="75.125656"
|
||||
style="stroke-width:0.26458332">Picks task</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="32.014915"
|
||||
y="60.981972"
|
||||
id="text8612"
|
||||
transform="rotate(-10.150807)"><tspan
|
||||
sodipodi:role="line"
|
||||
x="32.014915"
|
||||
y="60.981972"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan8614">returns to do</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="32.014915"
|
||||
y="65.391693"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan8618">other things</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 111.04712,79.303665 V 103.93194"
|
||||
id="path8759"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker8773)"
|
||||
d="m 93.455497,75.125653 17.622633,4.721971"
|
||||
id="path8761"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker8891)"
|
||||
d="m 110.82722,103.49215 -18.197879,4.8761"
|
||||
id="path8763"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#a40000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 107.96859,103.49215 h 7.25654"
|
||||
id="path9037"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="117.64398"
|
||||
y="99.534035"
|
||||
id="text9041"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan9039"
|
||||
x="117.64398"
|
||||
y="99.534035"
|
||||
style="stroke-width:0.26458332">Task fails</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="117.64398"
|
||||
y="103.94376"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan9043">here</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="96.973816"
|
||||
y="111.62827"
|
||||
id="text9047"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan9045"
|
||||
x="96.973816"
|
||||
y="111.62827"
|
||||
style="stroke-width:0.26458332">Exception propagates</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="96.973816"
|
||||
y="116.03799"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan9049">to worker thread</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker8630);stroke-miterlimit:4;stroke-dasharray:1.5874999,1.5874999;stroke-dashoffset:0"
|
||||
d="M 81.361255,46.319371 V 70.947644 H 92.136126"
|
||||
id="path8620"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="109.94765"
|
||||
y="74.026176"
|
||||
id="text9092"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan9090"
|
||||
x="109.94765"
|
||||
y="74.026176"
|
||||
style="stroke-width:0.26458332">starts task</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="109.94765"
|
||||
y="78.435898"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan9094">execution</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="31.884815"
|
||||
y="110.089"
|
||||
id="text9098"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan9096"
|
||||
x="31.884815"
|
||||
y="110.089"
|
||||
style="stroke-width:0.26458332">Thread <tspan
|
||||
style="fill:#4e9a06"
|
||||
id="tspan9102">A</tspan> is not notified</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="31.884815"
|
||||
y="114.49872"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan9100">of the failure on thread <tspan
|
||||
style="fill:#5c3566"
|
||||
id="tspan9104">B</tspan></tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -1,289 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg5272"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="object_graph.svg">
|
||||
<defs
|
||||
id="defs5266">
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6395"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6393" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6289"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6287" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6195"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6193" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6113"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6111" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6043"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6041" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5985"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5983" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5939"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5937" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5905"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5903" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
id="path4538"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.701616"
|
||||
inkscape:cx="440.25829"
|
||||
inkscape:cy="704.01713"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-others="true"
|
||||
inkscape:snap-nodes="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5269">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<circle
|
||||
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;fill:#204a87;fill-opacity:1"
|
||||
id="path5282"
|
||||
cx="60.361256"
|
||||
cy="41.591621"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="31.916229"
|
||||
cx="92.026176"
|
||||
id="circle5827"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5829"
|
||||
cx="100.1623"
|
||||
cy="56.10471"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="62.041882"
|
||||
cx="63.219891"
|
||||
id="circle5831"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5833"
|
||||
cx="96.643974"
|
||||
cy="80.952873"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="45.10994"
|
||||
cx="134.24606"
|
||||
id="circle5835"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5837"
|
||||
cx="118.6335"
|
||||
cy="66.87957"
|
||||
r="1.8691099" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6195)"
|
||||
d="m 62.195778,40.908877 27.832613,-8.24094"
|
||||
id="path5873"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5985)"
|
||||
d="M 93.915626,32.201469 132.32152,44.174155"
|
||||
id="path5875"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6043)"
|
||||
d="m 92.671711,33.756361 6.686045,20.369117"
|
||||
id="path5877"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5939)"
|
||||
d="m 101.53461,57.390757 15.08247,8.862898"
|
||||
id="path5879"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5905)"
|
||||
d="M 120.03785,65.320719 132.94348,46.661985"
|
||||
id="path5881"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6113)"
|
||||
d="M 64.8391,62.05544 98.269331,56.45782"
|
||||
id="path5883"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6395)"
|
||||
d="M 64.994588,62.832889 94.848562,80.403196"
|
||||
id="path5885"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
|
||||
d="M 98.113841,80.869665 117.39453,68.585997"
|
||||
id="path5887"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6289)"
|
||||
d="M 62.506759,60.034079 60.640885,43.552197"
|
||||
id="path5889"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="71.680634"
|
||||
y="87.711205"
|
||||
id="text6531"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6529"
|
||||
x="71.680634"
|
||||
y="87.711205"
|
||||
style="font-size:3.52777767px;stroke-width:0.26458332">Objects interacting with each other</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="71.680634"
|
||||
y="92.120926"
|
||||
style="font-size:3.52777767px;stroke-width:0.26458332"
|
||||
id="tspan9309">by calling methods on each other</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
|
@ -1,334 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg5272"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="object_graph_snakes.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\object_graph_snakes.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs5266">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lstart"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="marker6599"
|
||||
style="overflow:visible"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path6597"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
transform="scale(0.8) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lstart"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lstart"
|
||||
style="overflow:visible"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path4535"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
transform="scale(0.8) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6395"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6393" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6289"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6287" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6195"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6193" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6113"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6111" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker6043"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path6041" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5985"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5983" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5939"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5937" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker5905"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow1Lend">
|
||||
<path
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)"
|
||||
style="fill-rule:evenodd;stroke:#888a85;stroke-width:1pt;stroke-opacity:1;fill:#888a85;fill-opacity:1"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
id="path5903" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.701616"
|
||||
inkscape:cx="355.04517"
|
||||
inkscape:cy="704.01713"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:snap-others="true"
|
||||
inkscape:snap-nodes="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5269">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#4e9a06;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 65.150078,60.967016 c 8.831365,-3.403107 17.837513,-2.693588 25.8363,-5.030218 2.765042,-0.510332 5.847041,-0.754052 8.279157,0.942248 4.358225,6.532898 14.945175,6.4267 18.930405,11.861618 0.84593,7.502654 -14.34819,8.580433 -17.83633,12.123854 -0.30695,0.344362 -0.590504,0.709684 -0.846364,1.093574"
|
||||
id="path6583"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#5c3566;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 67.793398,63.299358 c 8.100668,-1.559121 23.89836,-1.19334 27.521633,-6.841538 2.998845,-5.997686 -2.354205,-22.213124 0.621958,-25.189288 9.893471,-0.09127 24.521411,7.061581 34.207681,10.106813"
|
||||
id="path6751"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#cc0000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 61.72931,38.887513 c 9.796378,0.232019 19.058629,-8.429928 27.521632,-8.707408 1.047316,0 3.880522,-0.317693 4.664684,0.466468 9.411684,4.76567 1.81182,19.638451 7.463494,24.411842 1.35151,1.013635 2.68395,2.048447 4.04272,2.954301 5.76245,1.884855 12.10318,8.471056 16.79286,7.152515 5.58664,-4.608667 9.28326,-11.300987 12.59465,-17.570309"
|
||||
id="path6549"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<circle
|
||||
style="stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none;fill:#204a87;fill-opacity:1"
|
||||
id="path5282"
|
||||
cx="60.361256"
|
||||
cy="41.591621"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="31.916229"
|
||||
cx="92.026176"
|
||||
id="circle5827"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5829"
|
||||
cx="100.1623"
|
||||
cy="56.10471"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="62.041882"
|
||||
cx="63.219891"
|
||||
id="circle5831"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5833"
|
||||
cx="96.643974"
|
||||
cy="80.952873"
|
||||
r="1.8691099" />
|
||||
<circle
|
||||
r="1.8691099"
|
||||
cy="45.10994"
|
||||
cx="134.24606"
|
||||
id="circle5835"
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<circle
|
||||
style="fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="circle5837"
|
||||
cx="118.6335"
|
||||
cy="66.87957"
|
||||
r="1.8691099" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6195);stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 62.195778,40.908877 27.832613,-8.24094"
|
||||
id="path5873"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5985)"
|
||||
d="M 93.915626,32.201469 132.32152,44.174155"
|
||||
id="path5875"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6043);marker-start:url(#marker6599)"
|
||||
d="m 92.671711,33.756361 6.686045,20.369117"
|
||||
id="path5877"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5939)"
|
||||
d="m 101.53461,57.390757 15.08247,8.862898"
|
||||
id="path5879"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5905)"
|
||||
d="M 120.03785,65.320719 132.94348,46.661985"
|
||||
id="path5881"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6113)"
|
||||
d="M 64.8391,62.05544 98.269331,56.45782"
|
||||
id="path5883"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6395)"
|
||||
d="M 64.994588,62.832889 94.848562,80.403196"
|
||||
id="path5885"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#Arrow1Lstart)"
|
||||
d="M 98.113841,80.869665 117.39453,68.585997"
|
||||
id="path5887"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#888a85;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6289)"
|
||||
d="M 62.506759,60.034079 60.640885,43.552197"
|
||||
id="path5889"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="71.680634"
|
||||
y="87.711205"
|
||||
id="text6531"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6529"
|
||||
x="71.680634"
|
||||
y="87.711205"
|
||||
style="font-size:3.52777767px;fill:#888a85;stroke-width:0.26458332">Objects interacting with each other</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="71.680634"
|
||||
y="92.120926"
|
||||
style="font-size:3.52777767px;stroke-width:0.26458332"
|
||||
id="tspan7162">Threads <tspan
|
||||
style="fill:#4e9a06"
|
||||
id="tspan7164">A</tspan>, <tspan
|
||||
style="fill:#ef2929"
|
||||
id="tspan7166">B</tspan>, <tspan
|
||||
style="fill:#5c3566"
|
||||
id="tspan7168">C</tspan>, interacting with each other,</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="71.680634"
|
||||
y="96.530647"
|
||||
style="font-size:3.52777767px;stroke-width:0.26458332"
|
||||
id="tspan7170">traversing method calls on objects</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
|
|
@ -1,250 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="seq_chart.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\seq_chart.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2">
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4869"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4867" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4841"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4839" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4819"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4817" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow2Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow2Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
id="path4556"
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
transform="scale(1.1) rotate(180) translate(1,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="258.05664"
|
||||
inkscape:cy="561.25984"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 47.842112,39.062826 0,62.230364"
|
||||
id="path3680"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="39.623203"
|
||||
y="35.7644"
|
||||
id="text3684"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3682"
|
||||
x="39.623203"
|
||||
y="35.7644"
|
||||
style="stroke-width:0.26458332">Object1</tspan></text>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3686"
|
||||
d="m 75.510146,39.062826 0,62.230364"
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
id="text3690"
|
||||
y="35.7644"
|
||||
x="67.291245"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="35.7644"
|
||||
x="67.291245"
|
||||
id="tspan3688"
|
||||
sodipodi:role="line">Object2</tspan><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="41.938011"
|
||||
x="67.291245"
|
||||
sodipodi:role="line"
|
||||
id="tspan3698" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 103.17819,39.062826 0,62.230364"
|
||||
id="path3692"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="94.959274"
|
||||
y="35.7644"
|
||||
id="text3696"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3694"
|
||||
x="94.959274"
|
||||
y="35.7644"
|
||||
style="stroke-width:0.26458332">Object3</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="94.959274"
|
||||
y="41.938011"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan3700" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker4841)"
|
||||
d="m 47.497383,44.340314 27.774884,7.442258"
|
||||
id="path3702"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker4819)"
|
||||
d="m 75.204187,58.413612 27.870103,7.467772"
|
||||
id="path3704"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#Arrow2Lend)"
|
||||
d="M 103.13089,70.507854 75.205811,77.990355"
|
||||
id="path3706"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker4869)"
|
||||
d="m 75.424082,82.602093 -27.81513,7.453042"
|
||||
id="path3708"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="63.509869"
|
||||
y="34.395035"
|
||||
id="text3712"
|
||||
transform="rotate(14.841865)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3710"
|
||||
x="63.509869"
|
||||
y="34.395035"
|
||||
style="stroke-width:0.26458332">methodA()</tspan></text>
|
||||
<text
|
||||
transform="rotate(13.113546)"
|
||||
id="text3716"
|
||||
y="43.435371"
|
||||
x="92.965302"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="43.435371"
|
||||
x="92.965302"
|
||||
sodipodi:role="line"
|
||||
id="tspan3718">methodB()</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="62.511692"
|
||||
y="98.03434"
|
||||
id="text3724"
|
||||
transform="rotate(-15.167757)"
|
||||
inkscape:transform-center-x="0.43979058"
|
||||
inkscape:transform-center-y="5.9371728"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3722"
|
||||
x="62.511692"
|
||||
y="98.03434"
|
||||
style="stroke-width:0.26458332">return</tspan></text>
|
||||
<text
|
||||
inkscape:transform-center-y="5.9371728"
|
||||
inkscape:transform-center-x="0.43979058"
|
||||
transform="rotate(-15.167757)"
|
||||
id="text3728"
|
||||
y="102.30701"
|
||||
x="30.368254"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="102.30701"
|
||||
x="30.368254"
|
||||
id="tspan3726"
|
||||
sodipodi:role="line">return</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
|
@ -1,278 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="seq_chart_multi_thread.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\seq_chart_multi_thread.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path4538"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#ef2929;stroke-width:1pt;stroke-opacity:1;fill:#ef2929;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4869"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4867" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4841"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4839" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4819"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4817" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow2Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow2Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
id="path4556"
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
transform="scale(1.1) rotate(180) translate(1,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="382.30614"
|
||||
inkscape:cy="554.19549"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 47.842112,39.062826 0,62.230364"
|
||||
id="path3680"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="39.623203"
|
||||
y="35.7644"
|
||||
id="text3684"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3682"
|
||||
x="39.623203"
|
||||
y="35.7644"
|
||||
style="stroke-width:0.26458332">Object1</tspan></text>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3686"
|
||||
d="m 75.510146,39.062826 0,62.230364"
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
id="text3690"
|
||||
y="35.7644"
|
||||
x="67.291245"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="35.7644"
|
||||
x="67.291245"
|
||||
id="tspan3688"
|
||||
sodipodi:role="line">Object2</tspan><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="41.938011"
|
||||
x="67.291245"
|
||||
sodipodi:role="line"
|
||||
id="tspan3698" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 103.17819,39.062826 0,62.230364"
|
||||
id="path3692"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="94.959274"
|
||||
y="35.7644"
|
||||
id="text3696"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3694"
|
||||
x="94.959274"
|
||||
y="35.7644"
|
||||
style="stroke-width:0.26458332">Object3</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="94.959274"
|
||||
y="41.938011"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan3700" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker4841)"
|
||||
d="m 47.497383,44.340314 27.774884,7.442258"
|
||||
id="path3702"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker4819)"
|
||||
d="M 103.47222,51.534441 75.602112,59.002213"
|
||||
id="path3704"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
|
||||
d="m 74.810302,90.087033 27.925078,7.482501"
|
||||
id="path3706"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker4869)"
|
||||
d="m 75.424082,82.602093 -27.81513,7.453042"
|
||||
id="path3708"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="63.509869"
|
||||
y="34.395035"
|
||||
id="text3712"
|
||||
transform="rotate(14.841865)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3710"
|
||||
x="63.509869"
|
||||
y="34.395035"
|
||||
style="stroke-width:0.26458332">methodA()</tspan></text>
|
||||
<text
|
||||
transform="rotate(-17.089311)"
|
||||
id="text3716"
|
||||
y="82.807327"
|
||||
x="60.501362"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"
|
||||
inkscape:transform-center-x="5.8123699"
|
||||
inkscape:transform-center-y="7.8493029"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="82.807327"
|
||||
x="60.501362"
|
||||
sodipodi:role="line"
|
||||
id="tspan5159">methodA()</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="103.09894"
|
||||
y="73.077911"
|
||||
id="text3724"
|
||||
transform="rotate(13.799494)"
|
||||
inkscape:transform-center-x="3.2584234"
|
||||
inkscape:transform-center-y="4.9748717"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3722"
|
||||
x="103.09894"
|
||||
y="73.077911"
|
||||
style="stroke-width:0.26458332">return</tspan></text>
|
||||
<text
|
||||
inkscape:transform-center-y="5.9371728"
|
||||
inkscape:transform-center-x="0.43979058"
|
||||
transform="rotate(-15.167757)"
|
||||
id="text3728"
|
||||
y="102.30701"
|
||||
x="30.368254"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="102.30701"
|
||||
x="30.368254"
|
||||
id="tspan3726"
|
||||
sodipodi:role="line">return</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 47.842111,39.062826 c -4.575415,9.324498 18.875166,7.346528 25.472793,8.623483 3.541968,1.468662 3.509097,14.760074 3.817522,21.82677 0.308425,7.066696 -1.708344,13.089014 -4.609943,16.666786 -6.506354,1.892376 -17.686874,1.828205 -21.457488,5.564598 -2.433975,1.500987 -3.222883,9.548727 -3.222884,9.548727"
|
||||
id="path4911"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cczccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#4e9a06;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 103.17819,39.062826 c 1.13801,4.939649 0.80143,7.559901 0.29403,10.354948 -10.075149,2.206774 -19.41285,3.696279 -27.870108,8.526105 -1.053291,6.709676 -0.79181,24.734811 -0.125471,30.216186 7.081188,4.170821 21.648454,3.313511 26.673589,7.644665 2.98958,7.25013 -0.24899,-0.465968 1.02796,5.48846"
|
||||
id="path5163"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
|
@ -1,270 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="seq_chart_thread.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\seq_chart_thread.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path4538"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#ef2929;stroke-width:1pt;stroke-opacity:1;fill:#ef2929;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4869"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4867" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4841"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4839" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4819"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4817" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow2Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow2Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always">
|
||||
<path
|
||||
id="path4556"
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
transform="scale(1.1) rotate(180) translate(1,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="258.05664"
|
||||
inkscape:cy="554.19549"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 47.842112,39.062826 0,62.230364"
|
||||
id="path3680"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="39.623203"
|
||||
y="35.7644"
|
||||
id="text3684"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3682"
|
||||
x="39.623203"
|
||||
y="35.7644"
|
||||
style="stroke-width:0.26458332">Object1</tspan></text>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3686"
|
||||
d="m 75.510146,39.062826 0,62.230364"
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
id="text3690"
|
||||
y="35.7644"
|
||||
x="67.291245"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="35.7644"
|
||||
x="67.291245"
|
||||
id="tspan3688"
|
||||
sodipodi:role="line">Object2</tspan><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="41.938011"
|
||||
x="67.291245"
|
||||
sodipodi:role="line"
|
||||
id="tspan3698" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 103.17819,39.062826 0,62.230364"
|
||||
id="path3692"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="94.959274"
|
||||
y="35.7644"
|
||||
id="text3696"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3694"
|
||||
x="94.959274"
|
||||
y="35.7644"
|
||||
style="stroke-width:0.26458332">Object3</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="94.959274"
|
||||
y="41.938011"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan3700" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker4841)"
|
||||
d="m 47.497383,44.340314 27.774884,7.442258"
|
||||
id="path3702"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker4819)"
|
||||
d="m 75.204187,58.413612 27.870103,7.467772"
|
||||
id="path3704"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#Arrow2Lend)"
|
||||
d="M 103.13089,70.507854 75.205811,77.990355"
|
||||
id="path3706"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#marker4869)"
|
||||
d="m 75.424082,82.602093 -27.81513,7.453042"
|
||||
id="path3708"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="63.509869"
|
||||
y="34.395035"
|
||||
id="text3712"
|
||||
transform="rotate(14.841865)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3710"
|
||||
x="63.509869"
|
||||
y="34.395035"
|
||||
style="stroke-width:0.26458332">methodA()</tspan></text>
|
||||
<text
|
||||
transform="rotate(13.113546)"
|
||||
id="text3716"
|
||||
y="43.435371"
|
||||
x="92.965302"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="43.435371"
|
||||
x="92.965302"
|
||||
sodipodi:role="line"
|
||||
id="tspan3718">methodB()</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="62.511692"
|
||||
y="98.03434"
|
||||
id="text3724"
|
||||
transform="rotate(-15.167757)"
|
||||
inkscape:transform-center-x="0.43979058"
|
||||
inkscape:transform-center-y="5.9371728"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3722"
|
||||
x="62.511692"
|
||||
y="98.03434"
|
||||
style="stroke-width:0.26458332">return</tspan></text>
|
||||
<text
|
||||
inkscape:transform-center-y="5.9371728"
|
||||
inkscape:transform-center-x="0.43979058"
|
||||
transform="rotate(-15.167757)"
|
||||
id="text3728"
|
||||
y="102.30701"
|
||||
x="30.368254"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="102.30701"
|
||||
x="30.368254"
|
||||
id="tspan3726"
|
||||
sodipodi:role="line">return</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:"
|
||||
d="m 47.842111,39.062826 c -4.575415,9.324498 18.875166,7.346528 25.472793,8.623483 3.541968,1.468662 1.529463,4.450248 4.037417,9.292739 2.507954,4.842491 16.835911,3.151796 21.27894,6.027066 4.443029,2.87527 4.443029,2.87527 4.499629,7.50174 -7.006529,7.686116 -21.712793,4.680051 -26.632555,8.40579 -2.219896,2.183967 -1.074253,3.688449 -3.975852,7.266221 -6.506354,1.892376 -17.686874,1.828205 -21.457488,5.564598 -2.433975,1.500987 -3.222883,9.548727 -3.222884,9.548727"
|
||||
id="path4911"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cczzccccc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
|
@ -1,308 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="0.92.1 r15371"
|
||||
sodipodi:docname="serialized_timeline_invariants.svg"
|
||||
inkscape:export-filename="C:\Users\Varga\workspace\akka\akka-docs-new\src\main\paradox\guide\diagrams\serialized_timeline_invariants.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<defs
|
||||
id="defs2">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;"
|
||||
inkscape:isstock="true">
|
||||
<path
|
||||
id="path4538"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#ef2929;stroke-width:1pt;stroke-opacity:1;fill:#ef2929;fill-opacity:1"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4869"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4867" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4841"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4839" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:isstock="true"
|
||||
style="overflow:visible;"
|
||||
id="marker4819"
|
||||
refX="0.0"
|
||||
refY="0.0"
|
||||
orient="auto"
|
||||
inkscape:stockid="Arrow2Lend">
|
||||
<path
|
||||
transform="scale(1.1) rotate(180) translate(1,0)"
|
||||
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
|
||||
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
|
||||
id="path4817" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2032242"
|
||||
inkscape:cx="131.80328"
|
||||
inkscape:cy="554.19549"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1080"
|
||||
inkscape:window-height="1857"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#4e9a06;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 47.842112,39.062826 0,62.230364"
|
||||
id="path3680"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="39.623203"
|
||||
y="35.7644"
|
||||
id="text3684"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3682"
|
||||
x="39.623203"
|
||||
y="35.7644"
|
||||
style="stroke-width:0.26458332">Actor1</tspan></text>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3686"
|
||||
d="m 75.510146,39.062826 0,62.230364"
|
||||
style="fill:none;stroke:#5c3566;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
id="text3690"
|
||||
y="35.7644"
|
||||
x="67.291245"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="35.7644"
|
||||
x="67.291245"
|
||||
id="tspan3688"
|
||||
sodipodi:role="line">Actor2</tspan><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="41.938011"
|
||||
x="67.291245"
|
||||
sodipodi:role="line"
|
||||
id="tspan3698" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#204a87;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 103.17819,39.062826 0,62.230364"
|
||||
id="path3692"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888855px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="94.959274"
|
||||
y="35.7644"
|
||||
id="text3696"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3694"
|
||||
x="94.959274"
|
||||
y="35.7644"
|
||||
style="stroke-width:0.26458332">Actor3</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="94.959274"
|
||||
y="41.938011"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan3700" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker4841)"
|
||||
d="M 47.497383,41.165312 75.272267,48.60757"
|
||||
id="path3702"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker4819)"
|
||||
d="M 103.47222,51.534441 76.131278,59.002213"
|
||||
id="path3704"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="62.696583"
|
||||
y="31.325958"
|
||||
id="text3712"
|
||||
transform="rotate(14.841865)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3710"
|
||||
x="62.696583"
|
||||
y="31.325958"
|
||||
style="stroke-width:0.26458332">messageA</tspan></text>
|
||||
<text
|
||||
transform="rotate(-17.089311)"
|
||||
id="text3716"
|
||||
y="77.749268"
|
||||
x="62.056385"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
xml:space="preserve"
|
||||
inkscape:transform-center-x="5.8123699"
|
||||
inkscape:transform-center-y="7.8493029"><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="77.749268"
|
||||
x="62.056385"
|
||||
sodipodi:role="line"
|
||||
id="tspan5159">messageB</tspan><tspan
|
||||
style="stroke-width:0.26458332"
|
||||
y="82.158989"
|
||||
x="62.056385"
|
||||
sodipodi:role="line"
|
||||
id="tspan9549" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 73.445025,52.696334 h 4.178012"
|
||||
id="path10136"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path10138"
|
||||
d="m 73.445025,68.571344 h 4.178012"
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 73.445025,70.688012 h 4.178012"
|
||||
id="path10140"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path10142"
|
||||
d="m 73.445025,87.092189 h 4.178012"
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 73.445025,87.092189 h 4.178012"
|
||||
id="path10144"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#4e9a06;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
x="56.691845"
|
||||
y="59.952873"
|
||||
id="text10148"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan10146"
|
||||
x="56.691845"
|
||||
y="59.952873"
|
||||
style="stroke-width:0.26458332;fill:#4e9a06;">process</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="56.691845"
|
||||
y="64.362595"
|
||||
style="stroke-width:0.26458332;fill:#4e9a06;"
|
||||
id="tspan10150">messageA</tspan></text>
|
||||
<text
|
||||
id="text10156"
|
||||
y="76.357056"
|
||||
x="56.691845"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#204a87;fill-opacity:1;stroke:none;stroke-width:0.26458332;"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:0.26458332;fill:#204a87;"
|
||||
y="76.357056"
|
||||
x="56.691845"
|
||||
id="tspan10152"
|
||||
sodipodi:role="line">process</tspan><tspan
|
||||
id="tspan10154"
|
||||
style="stroke-width:0.26458332;fill:#204a87;"
|
||||
y="80.766777"
|
||||
x="56.691845"
|
||||
sodipodi:role="line">messageB</tspan><tspan
|
||||
style="stroke-width:0.26458332;fill:#204a87;"
|
||||
y="85.176498"
|
||||
x="56.691845"
|
||||
sodipodi:role="line"
|
||||
id="tspan10158" /></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:1.05833327, 1.05833327;stroke-dashoffset:0;stroke-opacity:1;marker-end:url(#marker4869)"
|
||||
d="m 76.131278,59.53138 c 4.570293,3.322686 12.567507,11.239067 -0.422814,11.567547"
|
||||
id="path10352"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;line-height:1.25;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
||||
x="84.219902"
|
||||
y="70.287956"
|
||||
id="text10650"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan10648"
|
||||
x="84.219902"
|
||||
y="70.287956"
|
||||
style="stroke-width:0.26458332">messageB</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="84.219902"
|
||||
y="74.697678"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan10652">dequeued</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="84.219902"
|
||||
y="79.107399"
|
||||
style="stroke-width:0.26458332"
|
||||
id="tspan10654">here</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -1,18 +0,0 @@
|
|||
# Getting Started Guide
|
||||
|
||||
@@toc { depth=2 }
|
||||
|
||||
@@@ index
|
||||
|
||||
* [introduction](introduction.md)
|
||||
* [actors-motivation](actors-motivation.md)
|
||||
* [actors-intro](actors-intro.md)
|
||||
* [modules](modules.md)
|
||||
* [tutorial](tutorial.md)
|
||||
* [part1](tutorial_1.md)
|
||||
* [part2](tutorial_2.md)
|
||||
* [part3](tutorial_3.md)
|
||||
* [part4](tutorial_4.md)
|
||||
* [part5](tutorial_5.md)
|
||||
|
||||
@@@
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
# Introduction to Akka
|
||||
|
||||
Welcome to Akka, a set of open-source libraries for designing scalable, resilient systems that span processor cores and networks. Akka allows you to focus on meeting business needs instead of writing low-level code to provide reliable behavior, fault tolerance, and high performance.
|
||||
|
||||
Many common practices and accepted programming models do not address important challenges
|
||||
inherent in designing systems for modern computer architectures. To be
|
||||
successful, distributed systems must cope in an environment where components
|
||||
crash without responding, messages get lost without a trace on the wire, and
|
||||
network latency fluctuates. These problems occur regularly in carefully managed
|
||||
intra-datacenter environments - even more so in virtualized architectures.
|
||||
|
||||
To help you deal with these realities, Akka provides:
|
||||
|
||||
* Multi-threaded behavior without the use of low-level concurrency constructs like
|
||||
atomics or locks — relieving you from even thinking about memory visibility issues.
|
||||
* Transparent remote communication between systems and their components — relieving you from writing and maintaining difficult networking code.
|
||||
* A clustered, high-availability architecture that is elastic, scales in or out, on demand — enabling you to deliver a truly reactive system.
|
||||
|
||||
Akka's use of the actor model provides a level of abstraction that makes it
|
||||
easier to write correct concurrent, parallel and distributed systems. The actor
|
||||
model spans the full set of Akka libraries, providing you with a consistent way
|
||||
of understanding and using them. Thus, Akka offers a depth of integration that
|
||||
you cannot achieve by picking libraries to solve individual problems and trying
|
||||
to piece them together.
|
||||
|
||||
By learning Akka and how to use the actor model, you will gain access to a vast
|
||||
and deep set of tools that solve difficult distributed/parallel systems problems
|
||||
in a uniform programming model where everything fits together tightly and
|
||||
efficiently.
|
||||
|
||||
## How to get started
|
||||
|
||||
If this is your first experience with Akka, we recommend that you start by
|
||||
running a simple Hello World project. See the @scala[[Quickstart Guide](http://developer.lightbend.com/guides/akka-quickstart-scala)] @java[[Quickstart Guide](http://developer.lightbend.com/guides/akka-quickstart-java)] for
|
||||
instructions on downloading and running the Hello World example. The *Quickstart* guide walks you through example code that introduces how to define actor systems, actors, and messages as well as how to use the test module and logging. Within 30 minutes, you should be able to run the Hello World example and learn how it is constructed.
|
||||
|
||||
This *Getting Started* guide provides the next level of information. It covers why the actor model fits the needs of modern distributed systems and includes a tutorial that will help further your knowledge of Akka. Topics include:
|
||||
|
||||
* @ref:[Why modern systems need a new programming model](actors-motivation.md)
|
||||
* @ref:[How the actor model meets the needs of concurrent, distributed systems](actors-intro.md)
|
||||
* @ref:[Overview of Akka libraries and modules](modules.md)
|
||||
* A @ref:[more complex example](tutorial.md) that builds on the Hello World example to illustrate common Akka patterns.
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
# Introduction to the Example
|
||||
|
||||
When writing prose, the hardest part is often composing the first few sentences. There is a similar "blank canvas" feeling
|
||||
when starting to build an Akka system. You might wonder: Which should be the first actor? Where should it live? What should it do?
|
||||
Fortunately — unlike with prose — established best practices can guide us through these initial steps. In the remainder of this guide, we examine the core logic of a simple Akka application to introduce you to actors and show you how to formulate solutions with them. The example demonstrates common patterns that will help you kickstart your Akka projects.
|
||||
|
||||
## Prerequisites
|
||||
You should have already followed the instructions in the @scala[[Akka Quickstart with Scala guide](http://developer.lightbend.com/guides/akka-quickstart-scala/)] @java[[Akka Quickstart with Java guide](http://developer.lightbend.com/guides/akka-quickstart-java/)] to download and run the Hello World example. You will use this as a seed project and add the functionality described in this tutorial.
|
||||
|
||||
## IoT example use case
|
||||
|
||||
In this tutorial, we'll use Akka to build out part of an Internet of Things (IoT) system that reports data from sensor devices installed in customers' homes. The example focuses on temperature readings. The target use case allows customers to log in and view the last reported temperature from different areas of their homes. You can imagine that such sensors could also collect relative humidity or other interesting data and an application would likely support reading and changing device configuration, maybe even alerting home owners when sensor state falls outside of a particular range.
|
||||
|
||||
In a real system, the application would be exposed to customers through a mobile app or browser. This guide concentrates only on the core logic for storing temperatures that would be called over a network protocol, such as HTTP. It also includes writing tests to help you get comfortable and proficient with testing actors.
|
||||
|
||||
The tutorial application consists of two main components:
|
||||
|
||||
* **Device data collection:** — maintains a local representation of the
|
||||
remote devices. Multiple sensor devices for a home are organized into one device group.
|
||||
* **User dashboard:** — periodically collects data from the devices for a
|
||||
logged in user's home and presents the results as a report.
|
||||
|
||||
The following diagram illustrates the example application architecture. Since we are interested in the state of each sensor device, we will model devices as actors. The running application will create as many instances of device actors and device groups as necessary.
|
||||
|
||||

|
||||
|
||||
## What you will learn in this tutorial
|
||||
This tutorial introduces and illustrates:
|
||||
|
||||
* The actor hierarchy and how it influences actor behavior
|
||||
* How to choose the right granularity for actors
|
||||
* How to define protocols as messages
|
||||
* Typical conversational styles
|
||||
|
||||
|
||||
Let's get started by learning more about actors.
|
||||
|
||||
|
||||
|
|
@ -1,163 +0,0 @@
|
|||
# Part 1: Actor Architecture
|
||||
|
||||
## Dependency
|
||||
|
||||
Add the following dependency in your project:
|
||||
|
||||
@@dependency[sbt,Maven,Gradle] {
|
||||
group="com.typesafe.akka"
|
||||
artifact="akka-actor_$scala.binary_version$"
|
||||
version="$akka.version$"
|
||||
}
|
||||
|
||||
## Introduction
|
||||
|
||||
Use of Akka relieves you from creating the infrastructure for an actor system and from writing the low-level code necessary to control basic behavior. To appreciate this, let's look at the relationships between actors you create in your code and those that Akka creates and manages for you internally, the actor lifecycle, and failure handling.
|
||||
|
||||
## The Akka actor hierarchy
|
||||
|
||||
An actor in Akka always belongs to a parent. Typically, you create an actor by calling @java[`getContext().actorOf()`]@scala[`context.actorOf()`]. Rather than creating a "freestanding" actor, this injects the new actor as a child into an already existing tree: the creator actor becomes the
|
||||
_parent_ of the newly created _child_ actor. You might ask then, who is the parent of the _first_ actor you create?
|
||||
|
||||
As illustrated below, all actors have a common parent, the user guardian. New actor instances can be created under this actor using `system.actorOf()`. As we covered in the @scala[[Quickstart Guide](https://developer.lightbend.com/guides/akka-quickstart-scala/)]@java[[Quickstart Guide](https://developer.lightbend.com/guides/akka-quickstart-java/)], creation of an actor returns a reference that is a valid URL. So, for example, if we create an actor named `someActor` with `system.actorOf(…, "someActor")`, its reference will include the path `/user/someActor`.
|
||||
|
||||

|
||||
|
||||
In fact, before you create an actor in your code, Akka has already created three actors in the system. The names of these built-in actors contain _guardian_ because they _supervise_ every child actor in their path. The guardian actors include:
|
||||
|
||||
- `/` the so-called _root guardian_. This is the parent of all actors in the system, and the last one to stop when the system itself is terminated.
|
||||
- `/user` the _guardian_. **This is the parent actor for all user created actors**. Don't let the name `user` confuse
|
||||
you, it has nothing to do with end users, nor with user handling. Every actor you create using the Akka library will have the constant path `/user/` prepended to it.
|
||||
- `/system` the _system guardian_.
|
||||
|
||||
In the Hello World example, we have already seen how `system.actorOf()`, creates an actor directly under `/user`. We call this a _top level_ actor, even though, in practice it is only on the top of the
|
||||
_user defined_ hierarchy. You typically have only one (or very few) top level actors in your `ActorSystem`.
|
||||
We create child, or non-top-level, actors by invoking `context.actorOf()` from an existing actor. The `context.actorOf()` method has a signature identical to `system.actorOf()`, its top-level counterpart.
|
||||
|
||||
The easiest way to see the actor hierarchy in action is to print `ActorRef` instances. In this small experiment, we create an actor, print its reference, create a child of this actor, and print the child's reference. We start with the Hello World project, if you have not downloaded it, download the Quickstart project from the @scala[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-scala)]@java[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-java)].
|
||||
|
||||
|
||||
In your Hello World project, navigate to the `com.example` package and create a new @scala[Scala file called `ActorHierarchyExperiments.scala`]@java[Java file called `ActorHierarchyExperiments.java`] here. Copy and paste the code from the snippet below to this new source file. Save your file and run `sbt "runMain com.example.ActorHierarchyExperiments"` to observe the output.
|
||||
|
||||
Scala
|
||||
: @@snip [ActorHierarchyExperiments.scala](/akka-docs/src/test/scala/tutorial_1/ActorHierarchyExperiments.scala) { #print-refs }
|
||||
|
||||
Java
|
||||
: @@snip [ActorHierarchyExperiments.java](/akka-docs/src/test/java/jdocs/tutorial_1/ActorHierarchyExperiments.java) { #print-refs }
|
||||
|
||||
Note the way a message asked the first actor to do its work. We sent the message by using the parent's reference: @scala[`firstRef ! "printit"`]@java[`firstRef.tell("printit", ActorRef.noSender())`]. When the code executes, the output includes the references for the first actor and the child it created as part of the `printit` case. Your output should look similar to the following:
|
||||
|
||||
```
|
||||
First: Actor[akka://testSystem/user/first-actor#1053618476]
|
||||
Second: Actor[akka://testSystem/user/first-actor/second-actor#-1544706041]
|
||||
```
|
||||
|
||||
Notice the structure of the references:
|
||||
|
||||
* Both paths start with `akka://testSystem/`. Since all actor references are valid URLs, `akka://` is the value of the protocol field.
|
||||
* Next, just like on the World Wide Web, the URL identifies the system. In this example, the system is named `testSystem`, but it could be any other name. If remote communication between multiple systems is enabled, this part of the URL includes the hostname so other systems can find it on the network.
|
||||
* Because the second actor's reference includes the path `/first-actor/`, it identifies it as a child of the first.
|
||||
* The last part of the actor reference, `#1053618476` or `#-1544706041` is a unique identifier that you can ignore in most cases.
|
||||
|
||||
Now that you understand what the actor hierarchy
|
||||
looks like, you might be wondering: _Why do we need this hierarchy? What is it used for?_
|
||||
|
||||
An important role of the hierarchy is to safely manage actor lifecycles. Let's consider this next and see how that knowledge can help us write better code.
|
||||
|
||||
### The actor lifecycle
|
||||
Actors pop into existence when created, then later, at user requests, they are stopped. Whenever an actor is stopped, all of its children are _recursively stopped_ too.
|
||||
This behavior greatly simplifies resource cleanup and helps avoid resource leaks such as those caused by open sockets and files. In fact, a commonly overlooked difficulty when dealing with low-level multi-threaded code is the lifecycle management of various concurrent resources.
|
||||
|
||||
To stop an actor, the recommended pattern is to call @scala[`context.stop(self)`]@java[`getContext().stop(getSelf())`] inside the actor to stop itself, usually as a response to some user defined stop message or when the actor is done with its job. Stopping another actor is technically possible by calling @scala[`context.stop(actorRef)`]@java[`getContext().stop(actorRef)`], but **It is considered a bad practice to stop arbitrary actors this way**: try sending them a `PoisonPill` or custom stop message instead.
|
||||
|
||||
The Akka actor API exposes many lifecycle hooks that you can override in an actor implementation. The most commonly used are
|
||||
`preStart()` and `postStop()`.
|
||||
|
||||
* `preStart()` is invoked after the actor has started but before it processes its first message.
|
||||
* `postStop()` is invoked just before the actor stops. No messages are processed after this point.
|
||||
|
||||
Let's use the `preStart()` and `postStop()` lifecycle hooks in a simple experiment to observe the behavior when we stop an actor. First, add the following 2 actor classes to your project:
|
||||
|
||||
Scala
|
||||
: @@snip [ActorHierarchyExperiments.scala](/akka-docs/src/test/scala/tutorial_1/ActorHierarchyExperiments.scala) { #start-stop }
|
||||
|
||||
Java
|
||||
: @@snip [ActorHierarchyExperiments.java](/akka-docs/src/test/java/jdocs/tutorial_1/ActorHierarchyExperiments.java) { #start-stop }
|
||||
|
||||
And create a 'main' class like above to start the actors and then send them a `"stop"` message:
|
||||
|
||||
Scala
|
||||
: @@snip [ActorHierarchyExperiments.scala](/akka-docs/src/test/scala/tutorial_1/ActorHierarchyExperiments.scala) { #start-stop-main }
|
||||
|
||||
Java
|
||||
: @@snip [ActorHierarchyExperiments.java](/akka-docs/src/test/java/jdocs/tutorial_1/ActorHierarchyExperiments.java) { #start-stop-main }
|
||||
|
||||
You can again use `sbt` to start this program. The output should look like this:
|
||||
|
||||
```
|
||||
first started
|
||||
second started
|
||||
second stopped
|
||||
first stopped
|
||||
```
|
||||
|
||||
When we stopped actor `first`, it stopped its child actor, `second`, before stopping itself. This ordering is strict, _all_ `postStop()` hooks of the children are called before the `postStop()` hook of the parent
|
||||
is called.
|
||||
|
||||
The @ref:[Actor Lifecycle](../actors.md#actor-lifecycle) section of the Akka reference manual provides details on the full set of lifecyle hooks.
|
||||
|
||||
### Failure handling
|
||||
|
||||
Parents and children are connected throughout their lifecycles. Whenever an actor fails (throws an exception or an unhandled exception bubbles out from `receive`) it is temporarily suspended. As mentioned earlier, the failure information is propagated
|
||||
to the parent, which then decides how to handle the exception caused by the child actor. In this way, parents act as supervisors for their children. The default _supervisor strategy_ is to
|
||||
stop and restart the child. If you don't change the default strategy all failures result in a restart.
|
||||
|
||||
Let's observe the default strategy in a simple experiment. Add the following classes to your project, just as you did with the previous ones:
|
||||
|
||||
Scala
|
||||
: @@snip [ActorHierarchyExperiments.scala](/akka-docs/src/test/scala/tutorial_1/ActorHierarchyExperiments.scala) { #supervise }
|
||||
|
||||
Java
|
||||
: @@snip [ActorHierarchyExperiments.java](/akka-docs/src/test/java/jdocs/tutorial_1/ActorHierarchyExperiments.java) { #supervise }
|
||||
|
||||
And run with:
|
||||
|
||||
Scala
|
||||
: @@snip [ActorHierarchyExperiments.scala](/akka-docs/src/test/scala/tutorial_1/ActorHierarchyExperiments.scala) { #supervise-main }
|
||||
|
||||
Java
|
||||
: @@snip [ActorHierarchyExperiments.java](/akka-docs/src/test/java/jdocs/tutorial_1/ActorHierarchyExperiments.java) { #supervise-main }
|
||||
|
||||
You should see output similar to the following:
|
||||
|
||||
```
|
||||
supervised actor started
|
||||
supervised actor fails now
|
||||
supervised actor stopped
|
||||
supervised actor started
|
||||
[ERROR] [03/29/2017 10:47:14.150] [testSystem-akka.actor.default-dispatcher-2] [akka://testSystem/user/supervising-actor/supervised-actor] I failed!
|
||||
java.lang.Exception: I failed!
|
||||
at tutorial_1.SupervisedActor$$anonfun$receive$4.applyOrElse(ActorHierarchyExperiments.scala:57)
|
||||
at akka.actor.Actor$class.aroundReceive(Actor.scala:513)
|
||||
at tutorial_1.SupervisedActor.aroundReceive(ActorHierarchyExperiments.scala:47)
|
||||
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:519)
|
||||
at akka.actor.ActorCell.invoke(ActorCell.scala:488)
|
||||
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
|
||||
at akka.dispatch.Mailbox.run(Mailbox.scala:224)
|
||||
at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
|
||||
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:260)
|
||||
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
|
||||
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
|
||||
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
|
||||
```
|
||||
|
||||
We see that after failure the supervised actor is stopped and immediately restarted. We also see a log entry reporting the exception that was handled, in this case, our test exception. In this example we used `preStart()` and `postStop()` hooks
|
||||
which are the default to be called after and before restarts, so we cannot distinguish from inside the actor whether it was started for the first time or restarted. This is usually the right thing to do, the purpose of the restart is to set the actor in a known-good state, which usually means a clean starting stage. **What actually happens though is
|
||||
that the `preRestart()` and `postRestart()` methods are called which, if not overridden, by default delegate to `postStop()` and `preStart()` respectively**. You can experiment with overriding these additional methods and see how the output changes.
|
||||
|
||||
For the impatient, we also recommend looking into the @ref:[supervision reference page](../general/supervision.md) for more in-depth
|
||||
details.
|
||||
|
||||
# Summary
|
||||
We've learned about how Akka manages actors in hierarchies where parents supervise their children and handle exceptions. We saw how to create a very simple actor and child. Next, we'll apply this knowledge to our example use case by modeling the communication necessary to get information from device actors. Later, we'll deal with how to manage the actors in groups.
|
||||
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
# Part 2: Creating the First Actor
|
||||
|
||||
## Dependency
|
||||
|
||||
Add the following dependency in your project:
|
||||
|
||||
@@dependency[sbt,Maven,Gradle] {
|
||||
group="com.typesafe.akka"
|
||||
artifact="akka-actor_$scala.binary_version$"
|
||||
version="$akka.version$"
|
||||
}
|
||||
|
||||
## Introduction
|
||||
|
||||
With an understanding of actor hierarchy and behavior, the remaining question is how to map the top-level components of our IoT system to actors. It might be tempting to make the actors that
|
||||
represent devices and dashboards at the top level. Instead, we recommend creating an explicit component that represents the whole application. In other words, we will have a single top-level actor in our IoT system. The components that create and manage devices and dashboards will be children of this actor. This allows us to refactor the example use case architecture diagram into a tree of actors:
|
||||
|
||||

|
||||
|
||||
|
||||
We can define the first actor, the IotSupervisor, with a few simple lines of code. To start your tutorial application:
|
||||
|
||||
1. Create a new `IotSupervisor` source file in your appropriate package, e.g. in the `com.example` package
|
||||
1. Paste the following code into the new file to define the IotSupervisor.
|
||||
|
||||
Scala
|
||||
: @@snip [IotSupervisor.scala](/akka-docs/src/test/scala/tutorial_2/IotSupervisor.scala) { #iot-supervisor }
|
||||
|
||||
Java
|
||||
: @@snip [IotSupervisor.java](/akka-docs/src/test/java/jdocs/tutorial_2/IotSupervisor.java) { #iot-supervisor }
|
||||
|
||||
The code is similar to the actor examples we used in the previous experiments, but notice:
|
||||
|
||||
* Instead of `println()` we use @scala[the `ActorLogging` helper trait] @java[`akka.event.Logging`], which directly invokes Akka's built in logging facility.
|
||||
* We use the recommended pattern for creating actors by defining a `props()` @scala[method in the [companion object](http://docs.scala-lang.org/tutorials/tour/singleton-objects.html#companions) of] @java[static method on] the actor.
|
||||
|
||||
To provide the `main` entry point that creates the actor system, add the following code to the new @scala[`IotApp` object] @java[`IotMain` class].
|
||||
|
||||
Scala
|
||||
: @@snip [IotApp.scala](/akka-docs/src/test/scala/tutorial_2/IotApp.scala) { #iot-app }
|
||||
|
||||
Java
|
||||
: @@snip [IotMain.java](/akka-docs/src/test/java/jdocs/tutorial_2/IotMain.java) { #iot-app }
|
||||
|
||||
The application does little, other than print out that it is started. But, we have the first actor in place and we are ready to add other actors.
|
||||
|
||||
## What's next?
|
||||
|
||||
In the following chapters we will grow the application gradually, by:
|
||||
|
||||
1. Creating the representation for a device.
|
||||
2. Creating the device management component.
|
||||
3. Adding query capabilities to device groups.
|
||||
|
||||
|
|
@ -1,198 +0,0 @@
|
|||
# Part 3: Working with Device Actors
|
||||
|
||||
## Dependency
|
||||
|
||||
Add the following dependency in your project:
|
||||
|
||||
@@dependency[sbt,Maven,Gradle] {
|
||||
group="com.typesafe.akka"
|
||||
artifact="akka-actor_$scala.binary_version$"
|
||||
version="$akka.version$"
|
||||
}
|
||||
|
||||
## Introduction
|
||||
|
||||
In the previous topics we explained how to view actor systems _in the large_, that is, how components should be represented, how actors should be arranged in the hierarchy. In this part, we will look at actors _in the small_ by implementing the device actor.
|
||||
|
||||
If we were working with objects, we would typically design the API as _interfaces_, a collection of abstract methods to be filled out by the actual implementation. In the world of actors, protocols take the place of interfaces. While it is not possible to formalize general protocols in the programming language, we can compose their most basic element, messages. So, we will start by identifying the messages we will want to send to device actors.
|
||||
|
||||
Typically, messages fall into categories, or patterns. By identifying these patterns, you will find that it becomes easier to choose between them and to implement them. The first example demonstrates the _request-respond_ message pattern.
|
||||
|
||||
## Identifying messages for devices
|
||||
The tasks of a device actor will be simple:
|
||||
|
||||
* Collect temperature measurements
|
||||
* When asked, report the last measured temperature
|
||||
|
||||
However, a device might start without immediately having a temperature measurement. Hence, we need to account for the case where a temperature is not present. This also allows us to test the query part of the actor without the write part present, as the device actor can report an empty result.
|
||||
|
||||
The protocol for obtaining the current temperature from the device actor is simple. The actor:
|
||||
|
||||
1. Waits for a request for the current temperature.
|
||||
2. Responds to the request with a reply that either:
|
||||
|
||||
* contains the current temperature or,
|
||||
* indicates that a temperature is not yet available.
|
||||
|
||||
We need two messages, one for the request, and one for the reply. Our first attempt might look like the following:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceInProgress.scala](/akka-docs/src/test/scala/tutorial_3/DeviceInProgress.scala) { #read-protocol-1 }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceInProgress.java](/akka-docs/src/test/java/jdocs/tutorial_3/DeviceInProgress.java) { #read-protocol-1 }
|
||||
|
||||
These two messages seem to cover the required functionality. However, the approach we choose must take into account the distributed nature of the application. While the basic mechanism is the same for communicating with an actor on the local JVM as with a remote actor, we need to keep the following in mind:
|
||||
|
||||
* There will be observable differences in the latency of delivery between local and remote messages, because factors like network link bandwidth and the message size also come into play.
|
||||
* Reliability is a concern because a remote message send involves more steps, which means that more can go wrong.
|
||||
* A local send will pass a reference to the message inside the same JVM, without any restrictions on the underlying object which is sent, whereas a remote transport will place a limit on the message size.
|
||||
|
||||
In addition, while sending inside the same JVM is significantly more reliable, if an
|
||||
actor fails due to a programmer error while processing the message, the effect is the same as if a remote network request fails due to the remote host crashing while processing the message. Even though in both cases, the service recovers after a while (the actor is restarted by its supervisor, the host is restarted by an operator or by a monitoring system) individual requests are lost during the crash. **Therefore, writing your actors such that every
|
||||
message could possibly be lost is the safe, pessimistic bet.**
|
||||
|
||||
But to further understand the need for flexibility in the protocol, it will help to consider Akka message ordering and message delivery guarantees. Akka provides the following behavior for message sends:
|
||||
|
||||
* At-most-once delivery, that is, no guaranteed delivery.
|
||||
* Message ordering is maintained per sender, receiver pair.
|
||||
|
||||
The following sections discuss this behavior in more detail:
|
||||
|
||||
* [Message delivery](#message-delivery)
|
||||
* [Message ordering](#message-ordering)
|
||||
|
||||
### Message delivery
|
||||
The delivery semantics provided by messaging subsystems typically fall into the following categories:
|
||||
|
||||
* **At-most-once delivery** — each message is delivered zero or one time; in more causal terms it means that messages can be lost, but are never duplicated.
|
||||
* **At-least-once delivery** — potentially multiple attempts are made to deliver each message, until at least one succeeds; again, in more causal terms this means that messages can be duplicated but are never lost.
|
||||
* **Exactly-once delivery** — each message is delivered exactly once to the recipient; the message can neither be lost nor be duplicated.
|
||||
|
||||
The first behavior, the one used by Akka, is the cheapest and results in the highest performance. It has the least implementation overhead because it can be done in a fire-and-forget fashion without keeping the state at the sending end or in the transport mechanism. The second, at-least-once, requires retries to counter transport losses. This adds the overhead of keeping the state at the sending end and having an acknowledgment mechanism at the receiving end. Exactly-once delivery is most expensive, and results in the worst performance: in addition to the overhead added by at-least-once delivery, it requires the state to be kept at the receiving end in order to filter out
|
||||
duplicate deliveries.
|
||||
|
||||
In an actor system, we need to determine exact meaning of a guarantee — at which point does the system consider the delivery as accomplished:
|
||||
|
||||
1. When the message is sent out on the network?
|
||||
2. When the message is received by the target actor's host?
|
||||
3. When the message is put into the target actor's mailbox?
|
||||
4. When the message target actor starts to process the message?
|
||||
5. When the target actor has successfully processed the message?
|
||||
|
||||
Most frameworks and protocols that claim guaranteed delivery actually provide something similar to points 4 and 5. While this sounds reasonable, **is it actually useful?** To understand the implications, consider a simple, practical example: a user attempts to place an order and we only want to claim that it has successfully processed once it is actually on disk in the orders database.
|
||||
|
||||
If we rely on the successful processing of the message, the actor will report success as soon as the order has been submitted to the internal API that has the responsibility to validate it, process it and put it into the database. Unfortunately,
|
||||
immediately after the API has been invoked any of the following can happen:
|
||||
|
||||
* The host can crash.
|
||||
* Deserialization can fail.
|
||||
* Validation can fail.
|
||||
* The database might be unavailable.
|
||||
* A programming error might occur.
|
||||
|
||||
This illustrates that the **guarantee of delivery** does not translate to the **domain level guarantee**. We only want to report success once the order has been actually fully processed and persisted. **The only entity that can report success is the application itself, since only it has any understanding of the domain guarantees required. No generalized framework can figure out the specifics of a particular domain and what is considered a success in that domain**.
|
||||
|
||||
In this particular example, we only want to signal success after a successful database write, where the database acknowledged that the order is now safely stored. **For these reasons Akka lifts the responsibilities of guarantees to the application
|
||||
itself, i.e. you have to implement them yourself with the tools that Akka provides. This gives you full control of the guarantees that you want to provide**. Now, let's consider the message ordering that Akka provides to make it easy to reason about application logic.
|
||||
|
||||
### Message Ordering
|
||||
|
||||
In Akka, for a given pair of actors, messages sent directly from the first to the second will not be received out-of-order. The word directly emphasizes that this guarantee only applies when sending with the tell operator directly to the final destination, but not when employing mediators.
|
||||
|
||||
If:
|
||||
|
||||
* Actor `A1` sends messages `M1`, `M2`, `M3` to `A2`.
|
||||
* Actor `A3` sends messages `M4`, `M5`, `M6` to `A2`.
|
||||
|
||||
This means that, for Akka messages:
|
||||
|
||||
* If `M1` is delivered it must be delivered before `M2` and `M3`.
|
||||
* If `M2` is delivered it must be delivered before `M3`.
|
||||
* If `M4` is delivered it must be delivered before `M5` and `M6`.
|
||||
* If `M5` is delivered it must be delivered before `M6`.
|
||||
* `A2` can see messages from `A1` interleaved with messages from `A3`.
|
||||
* Since there is no guaranteed delivery, any of the messages may be dropped, i.e. not arrive at `A2`.
|
||||
|
||||
These guarantees strike a good balance: having messages from one actor arrive in-order is convenient for building systems that can be easily reasoned about, while on the other hand allowing messages from different actors to arrive interleaved provides sufficient freedom for an efficient implementation of the actor system.
|
||||
|
||||
For the full details on delivery guarantees please refer to the @ref:[reference page](../general/message-delivery-reliability.md).
|
||||
|
||||
## Adding flexibility to device messages
|
||||
|
||||
Our first query protocol was correct, but did not take into account distributed application execution. If we want to implement resends in the actor that queries a device actor (because of timed out requests), or if we want to query multiple actors, we need to be able to correlate requests and responses. Hence, we add one more field to our messages, so that an ID can be provided by the requester (we will add this code to our app in a later step):
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceInProgress.scala](/akka-docs/src/test/scala/tutorial_3/DeviceInProgress.scala) { #read-protocol-2 }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceInProgress2.java](/akka-docs/src/test/java/jdocs/tutorial_3/inprogress2/DeviceInProgress2.java) { #read-protocol-2 }
|
||||
|
||||
## Defining the device actor and its read protocol
|
||||
|
||||
As we learned in the Hello World example, each actor defines the type of messages it will accept. Our device actor has the responsibility to use the same ID parameter for the response of a given query, which would make it look like the following.
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceInProgress.scala](/akka-docs/src/test/scala/tutorial_3/DeviceInProgress.scala) { #device-with-read }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceInProgress2.java](/akka-docs/src/test/java/jdocs/tutorial_3/inprogress2/DeviceInProgress2.java) { #device-with-read }
|
||||
|
||||
Note in the code that:
|
||||
|
||||
* The @scala[companion object]@java[static method] defines how to construct a `Device` actor. The `props` parameters include an ID for the device and the group to which it belongs, which we will use later.
|
||||
* The @scala[companion object]@java[class] includes the definitions of the messages we reasoned about previously.
|
||||
* In the `Device` class, the value of `lastTemperatureReading` is initially set to @scala[`None`]@java[`Optional.empty()`], and the actor will report it back if queried.
|
||||
|
||||
## Testing the actor
|
||||
|
||||
Based on the simple actor above, we could write a simple test. You can check a full example of an Actor test in the Quickstart guide here @scala[[Quickstart Guide Testing example](https://developer.lightbend.com/guides/akka-quickstart-scala/testing-actors.html)] @java[[Quickstart Guide Testing example](https://developer.lightbend.com/guides/akka-quickstart-java/testing-actors.html)].
|
||||
You'll find there an example on how you can fully setup an Actor test, so that you can run it properly.
|
||||
|
||||
In the test tree of your project, add the following code to a @scala[`DeviceSpec.scala`]@java[`DeviceTest.java`] file.
|
||||
@scala[(We use [ScalaTest](http://www.scalatest.org) but any other testing framework can be used with the Akka Testkit)].
|
||||
|
||||
You can run this test @java[by running `mvn test` or] by running `test` at the sbt prompt.
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceSpec.scala](/akka-docs/src/test/scala/tutorial_3/DeviceSpec.scala) { #device-read-test }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceTest.java](/akka-docs/src/test/java/jdocs/tutorial_3/DeviceTest.java) { #device-read-test }
|
||||
|
||||
Now, the actor needs a way to change the state of the temperature when it receives a message from the sensor.
|
||||
|
||||
## Adding a write protocol
|
||||
|
||||
The purpose of the write protocol is to update the `currentTemperature` field when the actor receives a message that contains the temperature. Again, it is tempting to define the write protocol as a very simple message, something like this:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceInProgress.scala](/akka-docs/src/test/scala/tutorial_3/DeviceInProgress.scala) { #write-protocol-1 }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceInProgress3.java](/akka-docs/src/test/java/jdocs/tutorial_3/DeviceInProgress3.java) { #write-protocol-1 }
|
||||
|
||||
However, this approach does not take into account that the sender of the record temperature message can never be sure if the message was processed or not. We have seen that Akka does not guarantee delivery of these messages and leaves it to the application to provide success notifications. In our case, we would like to send an acknowledgment to the sender once we have updated our last temperature recording, e.g. @scala[`final case class TemperatureRecorded(requestId: Long)`]@java[`TemperatureRecorded`].
|
||||
Just like in the case of temperature queries and responses, it is a good idea to include an ID field to provide maximum flexibility.
|
||||
|
||||
## Actor with read and write messages
|
||||
|
||||
Putting the read and write protocol together, the device actor looks like the following example:
|
||||
|
||||
Scala
|
||||
: @@snip [Device.scala](/akka-docs/src/test/scala/tutorial_3/Device.scala) { #full-device }
|
||||
|
||||
Java
|
||||
: @@snip [Device.java](/akka-docs/src/test/java/jdocs/tutorial_3/Device.java) { #full-device }
|
||||
|
||||
We should also write a new test case now, exercising both the read/query and write/record functionality together:
|
||||
|
||||
Scala:
|
||||
: @@snip [DeviceSpec.scala](/akka-docs/src/test/scala/tutorial_3/DeviceSpec.scala) { #device-write-read-test }
|
||||
|
||||
Java:
|
||||
: @@snip [DeviceTest.java](/akka-docs/src/test/java/jdocs/tutorial_3/DeviceTest.java) { #device-write-read-test }
|
||||
|
||||
## What's Next?
|
||||
|
||||
So far, we have started designing our overall architecture, and we wrote the first actor that directly corresponds to the domain. We now have to create the component that is responsible for maintaining groups of devices and the device actors themselves.
|
||||
|
|
@ -1,230 +0,0 @@
|
|||
# Part 4: Working with Device Groups
|
||||
|
||||
## Dependency
|
||||
|
||||
Add the following dependency in your project:
|
||||
|
||||
@@dependency[sbt,Maven,Gradle] {
|
||||
group="com.typesafe.akka"
|
||||
artifact="akka-actor_$scala.binary_version$"
|
||||
version="$akka.version$"
|
||||
}
|
||||
|
||||
## Introduction
|
||||
|
||||
Let's take a closer look at the main functionality required by our use case. In a complete IoT system for monitoring home temperatures, the steps for connecting a device sensor to our system might look like this:
|
||||
|
||||
1. A sensor device in the home connects through some protocol.
|
||||
1. The component managing network connections accepts the connection.
|
||||
1. The sensor provides its group and device ID to register with the device manager component of our system.
|
||||
1. The device manager component handles registration by looking up or creating the actor responsible for keeping sensor state.
|
||||
1. The actor responds with an acknowledgement, exposing its `ActorRef`.
|
||||
1. The networking component now uses the `ActorRef` for communication between the sensor and device actor without going through the device manager.
|
||||
|
||||
Steps 1 and 2 take place outside the boundaries of our tutorial system. In this chapter, we will start addressing steps 3-6 and create a way for sensors to register with our system and to communicate with actors. But first, we have another architectural decision — how many levels of actors should we use to represent device groups and device sensors?
|
||||
|
||||
One of the main design challenges for Akka programmers is choosing the best granularity for actors. In practice, depending on the characteristics of the interactions between actors, there are usually several valid ways to organize a system. In our use case, for example, it would be possible to have a single actor maintain all the groups and devices — perhaps using hash maps. It would also be reasonable to have an actor for each group that tracks the state of all devices in the same home.
|
||||
|
||||
The following guidelines help us choose the most appropriate actor hierarchy:
|
||||
|
||||
* In general, prefer larger granularity. Introducing more fine-grained actors than needed causes more problems than it solves.
|
||||
* Add finer granularity when the system requires:
|
||||
* Higher concurrency.
|
||||
* Complex conversations between actors that have many
|
||||
states. We will see a very good example for this in the next chapter.
|
||||
* Sufficient state that it makes sense to divide into smaller
|
||||
actors.
|
||||
* Multiple unrelated responsibilities. Using separate actors allows individuals to fail and be restored with little impact on others.
|
||||
|
||||
## Device manager hierarchy
|
||||
|
||||
Considering the principles outlined in the previous section, We will model the device manager component as an actor tree with three levels:
|
||||
|
||||
* The top level supervisor actor represents the system component for devices. It is also the entry point to look up and create device group and device actors.
|
||||
* At the next level, group actors each supervise the device actors for one group id (e.g. one home). They also provide services, such as querying temperature readings from all of the available devices in their group.
|
||||
* Device actors manage all the interactions with the actual device sensors, such as storing temperature readings.
|
||||
|
||||

|
||||
|
||||
We chose this three-layered architecture for these reasons:
|
||||
|
||||
* Having groups of individual actors:
|
||||
* Isolates failures that occur in a group. If a single actor managed all device groups, an error in one group that causes a restart would wipe out the state of groups that are otherwise non-faulty.
|
||||
* Simplifies the problem of querying all the devices belonging to a group. Each group actor only contains state related to its group.
|
||||
* Increases parallelism in the system. Since each group has a dedicated actor, they run concurrently and we can query multiple groups concurrently.
|
||||
|
||||
|
||||
* Having sensors modeled as individual device actors:
|
||||
* Isolates failures of one device actor from the rest of the devices in the group.
|
||||
* Increases the parallelism of collecting temperature readings. Network connections from different sensors communicate with their individual device actors directly, reducing contention points.
|
||||
|
||||
With the architecture defined, we can start working on the protocol for registering sensors.
|
||||
|
||||
## The Registration Protocol
|
||||
|
||||
As the first step, we need to design the protocol both for registering a device and for creating the group and device actors that will be responsible for it. This protocol will be provided by the `DeviceManager` component itself because that is the only actor that is known and available up front: device groups and device actors are created on-demand.
|
||||
|
||||
Looking at registration in more detail, we can outline the necessary functionality:
|
||||
|
||||
1. When a `DeviceManager` receives a request with a group and device id:
|
||||
* If the manager already has an actor for the device group, it forwards the request to it.
|
||||
* Otherwise, it creates a new device group actor and then forwards the request.
|
||||
1. The `DeviceGroup` actor receives the request to register an actor for the given device:
|
||||
* If the group already has an actor for the device, the group actor forwards the request to the device actor.
|
||||
* Otherwise, the `DeviceGroup` actor first creates a device actor and then forwards the request.
|
||||
1. The device actor receives the request and sends an acknowledgement to the original sender. Since the device actor acknowledges receipt (instead of the group actor), the sensor will now have the `ActorRef` to send messages directly to its actor.
|
||||
|
||||
The messages that we will use to communicate registration requests and
|
||||
their acknowledgement have a simple definition:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceManager.scala](/akka-docs/src/test/scala/tutorial_4/DeviceManager.scala) { #device-manager-msgs }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceManager.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceManager.java) { #device-manager-msgs }
|
||||
|
||||
In this case we have not included a request ID field in the messages. Since registration happens once, when the component connects the system to some network protocol, the ID is not important. However, it is usually a best practice to include a request ID.
|
||||
|
||||
Now, we'll start implementing the protocol from the bottom up. In practice, both a top-down and bottom-up approach can work, but in our case, we benefit from the bottom-up approach as it allows us to immediately write tests for the new features without mocking out parts that we will need to build later.
|
||||
|
||||
## Adding registration support to device actors
|
||||
|
||||
At the bottom of our hierarchy are the `Device` actors. Their job in the registration process is simple: reply to the registration request with an acknowledgment to the sender. It is also prudent to add a safeguard against requests that come with a mismatched group or device ID.
|
||||
|
||||
*We will assume that the ID of the sender of the registration
|
||||
message is preserved in the upper layers.* We will show you in the next section how this can be achieved.
|
||||
|
||||
The device actor registration code looks like the following. Modify your example to match.
|
||||
|
||||
Scala
|
||||
: @@snip [Device.scala](/akka-docs/src/test/scala/tutorial_4/Device.scala) { #device-with-register }
|
||||
|
||||
Java
|
||||
: @@snip [Device.java](/akka-docs/src/test/java/jdocs/tutorial_4/Device.java) { #device-with-register }
|
||||
|
||||
@@@ note { .group-scala }
|
||||
|
||||
We used a feature of scala pattern matching where we can check to see if a certain field equals an expected value. By bracketing variables with backticks, like `` `variable` ``, the pattern will only match if it contains the value of `variable` in that position.
|
||||
|
||||
@@@
|
||||
|
||||
We can now write two new test cases, one exercising successful registration, the other testing the case when IDs don't match:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceSpec.scala](/akka-docs/src/test/scala/tutorial_4/DeviceSpec.scala) { #device-registration-tests }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceTest.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceTest.java) { #device-registration-tests }
|
||||
|
||||
@@@ note
|
||||
|
||||
We used the `expectNoMsg()` helper method from @scala[`TestProbe`]@java[`TestKit`]. This assertion waits until the defined time-limit and fails if it receives any messages during this period. If no messages are received during the waiting period, the assertion passes. It is usually a good idea to keep these timeouts low (but not too low) because they add significant test execution time.
|
||||
|
||||
@@@
|
||||
|
||||
|
||||
## Adding registration support to device group actors
|
||||
|
||||
We are done with registration support at the device level, now we have to implement it at the group level. A group actor has more work to do when it comes to registrations, including:
|
||||
|
||||
* Handling the registration request by either forwarding it to an existing device actor or by creating a new actor and forwarding the message.
|
||||
* Tracking which device actors exist in the group and removing them from the group when they are stopped.
|
||||
|
||||
### Handling the registration request
|
||||
|
||||
A device group actor must either forward the request to an existing child, or it should create one. To look up child actors by their device IDs we will use a @scala[`Map[String, ActorRef]`]@java[`Map<String, ActorRef>`].
|
||||
|
||||
We also want to keep the ID of the original sender of the request so that our device actor can reply directly. This is possible by using `forward` instead of the @scala[`!`] @java[`tell`] operator. The only difference between the two is that `forward` keeps the original
|
||||
sender while @scala[`!`] @java[`tell`] sets the sender to be the current actor. Just like with our device actor, we ensure that we don't respond to wrong group IDs. Add the following to your source file:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroup.scala](/akka-docs/src/test/scala/tutorial_4/DeviceGroup.scala) { #device-group-register }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroup.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceGroup.java) { #device-group-register }
|
||||
|
||||
Just as we did with the device, we test this new functionality. We also test that the actors returned for the two different IDs are actually different, and we also attempt to record a temperature reading for each of the devices to see if the actors are responding.
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupSpec.scala](/akka-docs/src/test/scala/tutorial_4/DeviceGroupSpec.scala) { #device-group-test-registration }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupTest.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceGroupTest.java) { #device-group-test-registration }
|
||||
|
||||
If a device actor already exists for the registration request, we would like to use
|
||||
the existing actor instead of a new one. We have not tested this yet, so we need to fix this:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupSpec.scala](/akka-docs/src/test/scala/tutorial_4/DeviceGroupSpec.scala) { #device-group-test3 }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupTest.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceGroupTest.java) { #device-group-test3 }
|
||||
|
||||
|
||||
### Keeping track of the device actors in the group
|
||||
|
||||
So far, we have implemented logic for registering device actors in the group. Devices come and go, however, so we will need a way to remove device actors from the @scala[`Map[String, ActorRef]`] @java[`Map<String, ActorRef>`]. We will assume that when a device is removed, its corresponding device actor is stopped. Supervision, as we discussed earlier, only handles error scenarios — not graceful stopping. So we need to notify the parent when one of the device actors is stopped.
|
||||
|
||||
Akka provides a _Death Watch_ feature that allows an actor to _watch_ another actor and be notified if the other actor is stopped. Unlike supervision, watching is not limited to parent-child relationships, any actor can watch any other actor as long as it knows the `ActorRef`. After a watched actor stops, the watcher receives a `Terminated(actorRef)` message which also contains the reference to the watched actor. The watcher can either handle this message explicitly or will fail with a `DeathPactException`. This latter is useful if the actor can no longer perform its own duties after the watched actor has been stopped. In our case, the group should still function after one device have been stopped, so we need to handle the `Terminated(actorRef)` message.
|
||||
|
||||
Our device group actor needs to include functionality that:
|
||||
|
||||
1. Starts watching new device actors when they are created.
|
||||
2. Removes a device actor from the @scala[`Map[String, ActorRef]`] @java[`Map<String, ActorRef>`] — which maps devices to device actors — when the notification indicates it has stopped.
|
||||
|
||||
Unfortunately, the `Terminated` message only contains the `ActorRef` of the child actor. We need the actor's ID to remove it from the map of existing device to device actor mappings. To be able to do this removal, we need to introduce another placeholder, @scala[`Map[ActorRef, String]`] @java[`Map<ActorRef, String>`], that allow us to find out the device ID corresponding to a given `ActorRef`.
|
||||
|
||||
Adding the functionality to identify the actor results in this:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroup.scala](/akka-docs/src/test/scala/tutorial_4/DeviceGroup.scala) { #device-group-remove }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroup.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceGroup.java) { #device-group-remove }
|
||||
|
||||
So far we have no means to get which devices the group device actor keeps track of and, therefore, we cannot test our new functionality yet. To make it testable, we add a new query capability (message @scala[`RequestDeviceList(requestId: Long)`] @java[`RequestDeviceList`]) that lists the currently active
|
||||
device IDs:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroup.scala](/akka-docs/src/test/scala/tutorial_4/DeviceGroup.scala) { #device-group-full }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroup.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceGroup.java) { #device-group-full }
|
||||
|
||||
We are almost ready to test the removal of devices. But, we still need the following capabilities:
|
||||
|
||||
* To stop a device actor from our test case. From the outside, any actor can be stopped by sending a special
|
||||
the built-in message, `PoisonPill`, which instructs the actor to stop.
|
||||
* To be notified once the device actor is stopped. We can use the _Death Watch_ facility for this purpose, too. The @scala[`TestProbe`] @java[`TestKit`] has two messages that we can easily use, `watch()` to watch a specific actor, and `expectTerminated`
|
||||
to assert that the watched actor has been terminated.
|
||||
|
||||
We add two more test cases now. In the first, we test that we get back the list of proper IDs once we have added a few devices. The second test case makes sure that the device ID is properly removed after the device actor has been stopped:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupSpec.scala](/akka-docs/src/test/scala/tutorial_4/DeviceGroupSpec.scala) { #device-group-list-terminate-test }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupTest.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceGroupTest.java) { #device-group-list-terminate-test }
|
||||
|
||||
## Creating device manager actors
|
||||
|
||||
Going up to the next level in our hierarchy, we need to create the entry point for our device manager component in the `DeviceManager` source file. This actor is very similar to the device group actor, but creates device group actors instead of device actors:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceManager.scala](/akka-docs/src/test/scala/tutorial_4/DeviceManager.scala) { #device-manager-full }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceManager.java](/akka-docs/src/test/java/jdocs/tutorial_4/DeviceManager.java) { #device-manager-full }
|
||||
|
||||
We leave tests of the device manager as an exercise for you since it is very similar to the tests we have already written for the group
|
||||
actor.
|
||||
|
||||
## What's next?
|
||||
|
||||
We have now a hierarchical component for registering and tracking devices and recording measurements. We have seen how to implement different types of conversation patterns, such as:
|
||||
|
||||
* Request-respond (for temperature recordings)
|
||||
* Delegate-respond (for registration of devices)
|
||||
* Create-watch-terminate (for creating the group and device actor as children)
|
||||
|
||||
In the next chapter, we will introduce group query capabilities, which will establish a new conversation pattern of scatter-gather. In particular, we will implement the functionality that allows users to query the status of all the devices belonging to a group.
|
||||
|
|
@ -1,271 +0,0 @@
|
|||
# Part 5: Querying Device Groups
|
||||
|
||||
## Dependency
|
||||
|
||||
Add the following dependency in your project:
|
||||
|
||||
@@dependency[sbt,Maven,Gradle] {
|
||||
group="com.typesafe.akka"
|
||||
artifact="akka-actor_$scala.binary_version$"
|
||||
version="$akka.version$"
|
||||
}
|
||||
|
||||
## Introduction
|
||||
|
||||
The conversational patterns that we have seen so far are simple in the sense that they require the actor to keep little or no state. Specifically:
|
||||
|
||||
* Device actors return a reading, which requires no state change
|
||||
* Record a temperature, which updates a single field
|
||||
* Device Group actors maintain group membership by adding or removing entries from a map
|
||||
|
||||
In this part, we will use a more complex example. Since homeowners will be interested in the temperatures throughout their home, our goal is to be able to query all of the device actors in a group. Let us start by investigating how such a query API should behave.
|
||||
|
||||
## Dealing with possible scenarios
|
||||
The very first issue we face is that the membership of a group is dynamic. Each sensor device is represented by an actor that can stop at any time. At the beginning of the query, we can ask all of the existing device actors for the current temperature. However, during the lifecycle of the query:
|
||||
|
||||
* A device actor might stop and not be able to respond back with a temperature reading.
|
||||
* A new device actor might start up and not be included in the query because we weren't aware of it.
|
||||
|
||||
These issues can be addressed in many different ways, but the important point is to settle on the desired behavior. The following works well for our use case:
|
||||
|
||||
* When a query arrives, the group actor takes a _snapshot_ of the existing device actors and will only ask those actors for the temperature.
|
||||
* Actors that start up _after_ the query arrives are ignored.
|
||||
* If an actor in the snapshot stops during the query without answering, we will report the fact that it stopped to the sender of the query message.
|
||||
|
||||
Apart from device actors coming and going dynamically, some actors might take a long time to answer. For example, they could be stuck in an accidental infinite loop, or fail due to a bug and drop our request. We don't want the query to continue indefinitely, so we will consider it complete in either of the following cases:
|
||||
|
||||
* All actors in the snapshot have either responded or have confirmed being stopped.
|
||||
* We reach a pre-defined deadline.
|
||||
|
||||
Given these decisions, along with the fact that a device in the snapshot might have just started and not yet received a temperature to record, we can define four states
|
||||
for each device actor, with respect to a temperature query:
|
||||
|
||||
* It has a temperature available: @scala[`Temperature(value)`] @java[`Temperature`].
|
||||
* It has responded, but has no temperature available yet: `TemperatureNotAvailable`.
|
||||
* It has stopped before answering: `DeviceNotAvailable`.
|
||||
* It did not respond before the deadline: `DeviceTimedOut`.
|
||||
|
||||
Summarizing these in message types we can add the following to `DeviceGroup`:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroup.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroup.scala) { #query-protocol }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroup.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroup.java) { #query-protocol }
|
||||
|
||||
## Implementing the query
|
||||
|
||||
One approach for implementing the query involves adding code to the group device actor. However, in practice this can be very cumbersome and error prone. Remember that when we start a query, we need to take a snapshot of the devices present and start a timer so that we can enforce the deadline. In the meantime, _another query_ can arrive. For the second query we need to keep track of the exact same information but in isolation from the previous query. This would require us to maintain separate mappings between queries and device actors.
|
||||
|
||||
Instead, we will implement a simpler, and superior approach. We will create an actor that represents a _single query_ and that performs the tasks needed to complete the query on behalf of the group actor. So far we have created actors that belonged to classical domain objects, but now, we will create an
|
||||
actor that represents a process or a task rather than an entity. We benefit by keeping our group device actor simple and being able to better test query capability in isolation.
|
||||
|
||||
### Defining the query actor
|
||||
|
||||
First, we need to design the lifecycle of our query actor. This consists of identifying its initial state, the first action it will take, and the cleanup — if necessary. The query actor will need the following information:
|
||||
|
||||
* The snapshot and IDs of active device actors to query.
|
||||
* The ID of the request that started the query (so that we can include it in the reply).
|
||||
* The reference of the actor who sent the query. We will send the reply to this actor directly.
|
||||
* A deadline that indicates how long the query should wait for replies. Making this a parameter will simplify testing.
|
||||
|
||||
#### Scheduling the query timeout
|
||||
Since we need a way to indicate how long we are willing to wait for responses, it is time to introduce a new Akka feature that we have
|
||||
not used yet, the built-in scheduler facility. Using the scheduler is simple:
|
||||
|
||||
* We get the scheduler from the `ActorSystem`, which, in turn,
|
||||
is accessible from the actor's context: @scala[`context.system.scheduler`]@java[`getContext().getSystem().scheduler()`]. This needs an @scala[implicit] `ExecutionContext` which
|
||||
is the thread-pool that will execute the timer task itself. In our case, we use the same dispatcher
|
||||
as the actor by @scala[importing `import context.dispatcher`] @java[passing in `getContext().getDispatcher()`].
|
||||
* The
|
||||
@scala[`scheduler.scheduleOnce(time, actorRef, message)`] @java[`scheduler.scheduleOnce(time, actorRef, message, executor, sender)`] method will schedule the message `message` into the future by the
|
||||
specified `time` and send it to the actor `actorRef`.
|
||||
|
||||
We need to create a message that represents the query timeout. We create a simple message `CollectionTimeout` without any parameters for this purpose. The return value from `scheduleOnce` is a `Cancellable` which can be used to cancel the timer if the query finishes successfully in time. At the start of the query, we need to ask each of the device actors for the current temperature. To be able to quickly
|
||||
detect devices that stopped before they got the `ReadTemperature` message we will also watch each of the actors. This
|
||||
way, we get `Terminated` messages for those that stop during the lifetime of the query, so we don't need to wait
|
||||
until the timeout to mark these as not available.
|
||||
|
||||
Putting this together, the outline of our `DeviceGroupQuery` actor looks like this:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuery.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuery.scala) { #query-outline }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQuery.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQuery.java) { #query-outline }
|
||||
|
||||
#### Tracking actor state
|
||||
|
||||
The query actor, apart from the pending timer, has one stateful aspect, tracking the set of actors that: have replied, have stopped, or have not replied. One way to track this state is
|
||||
to create a mutable field in the actor @scala[(a `var`)]. A different approach takes advantage of the ability to change how
|
||||
an actor responds to messages. A
|
||||
`Receive` is just a function (or an object, if you like) that can be returned from another function. By default, the `receive` block defines the behavior of the actor, but it is possible to change it multiple times during the life of the actor. We call `context.become(newBehavior)`
|
||||
where `newBehavior` is anything with type `Receive` @scala[(which is a shorthand for `PartialFunction[Any, Unit]`)]. We will leverage this
|
||||
feature to track the state of our actor.
|
||||
|
||||
For our use case:
|
||||
|
||||
1. Instead of defining `receive` directly, we delegate to a `waitingForReplies` function to create the `Receive`.
|
||||
1. The `waitingForReplies` function will keep track of two changing values:
|
||||
* a `Map` of already received replies
|
||||
* a `Set` of actors that we still wait on
|
||||
1. We have three events to act on:
|
||||
* We can receive a
|
||||
`RespondTemperature` message from one of the devices.
|
||||
* We can receive a `Terminated` message for a device actor
|
||||
that has been stopped in the meantime.
|
||||
* We can reach the deadline and receive a `CollectionTimeout`.
|
||||
|
||||
In the first two cases, we need to keep track of the replies, which we now delegate to a method `receivedResponse`, which we will discuss later. In the case of timeout, we need to simply take all the actors that have not yet replied (the members of the set `stillWaiting`) and put a `DeviceTimedOut` as the status in the final reply. Then we reply to the submitter of the query with the collected results and stop the query actor.
|
||||
|
||||
To accomplish this, add the following to your `DeviceGroupQuery` source file:
|
||||
|
||||
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuery.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuery.scala) { #query-state }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQuery.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQuery.java) { #query-state }
|
||||
|
||||
It is not yet clear how we will "mutate" the `repliesSoFar` and `stillWaiting` data structures. One important thing to note is that the function `waitingForReplies` **does not handle the messages directly. It returns a `Receive` function that will handle the messages**. This means that if we call `waitingForReplies` again, with different parameters,
|
||||
then it returns a brand new `Receive` that will use those new parameters.
|
||||
|
||||
We have seen how we
|
||||
can install the initial `Receive` by returning it from `receive`. In order to install a new one, to record a
|
||||
new reply, for example, we need some mechanism. This mechanism is the method `context.become(newReceive)` which will
|
||||
_change_ the actor's message handling function to the provided `newReceive` function. You can imagine that before
|
||||
starting, your actor automatically calls `context.become(receive)`, i.e. installing the `Receive` function that
|
||||
is returned from `receive`. This is another important observation: **it is not `receive` that handles the messages,
|
||||
it returns a `Receive` function that will actually handle the messages**.
|
||||
|
||||
We now have to figure out what to do in `receivedResponse`. First, we need to record the new result in the map `repliesSoFar` and remove the actor from `stillWaiting`. The next step is to check if there are any remaining actors we are waiting for. If there is none, we send the result of the query to the original requester and stop the query actor. Otherwise, we need to update the `repliesSoFar` and `stillWaiting` structures and wait for more
|
||||
messages.
|
||||
|
||||
In the code before, we treated `Terminated` as the implicit response `DeviceNotAvailable`, so `receivedResponse` does
|
||||
not need to do anything special. However, there is one small task we still need to do. It is possible that we receive a proper
|
||||
response from a device actor, but then it stops during the lifetime of the query. We don't want this second event
|
||||
to overwrite the already received reply. In other words, we don't want to receive `Terminated` after we recorded the
|
||||
response. This is simple to achieve by calling `context.unwatch(ref)`. This method also ensures that we don't
|
||||
receive `Terminated` events that are already in the mailbox of the actor. It is also safe to call this multiple times,
|
||||
only the first call will have any effect, the rest is ignored.
|
||||
|
||||
With all this knowledge, we can create the `receivedResponse` method:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuery.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuery.scala) { #query-collect-reply }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQuery.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQuery.java) { #query-collect-reply }
|
||||
|
||||
It is quite natural to ask at this point, what have we gained by using the `context.become()` trick instead of
|
||||
making the `repliesSoFar` and `stillWaiting` structures mutable fields of the actor (i.e. `var`s)? In this
|
||||
simple example, not that much. The value of this style of state keeping becomes more evident when you suddenly have
|
||||
_more kinds_ of states. Since each state
|
||||
might have temporary data that is relevant itself, keeping these as fields would pollute the global state
|
||||
of the actor, i.e. it is unclear what fields are used in what state. Using parameterized `Receive` "factory"
|
||||
methods we can keep data private that is only relevant to the state. It is still a good exercise to
|
||||
rewrite the query using @scala[`var`s] @java[mutable fields] instead of `context.become()`. However, it is recommended to get comfortable
|
||||
with the solution we have used here as it helps structuring more complex actor code in a cleaner and more maintainable way.
|
||||
|
||||
Our query actor is now done:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuery.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuery.scala) { #query-full }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQuery.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQuery.java) { #query-full }
|
||||
|
||||
### Testing the query actor
|
||||
|
||||
Now let's verify the correctness of the query actor implementation. There are various scenarios we need to test individually to make
|
||||
sure everything works as expected. To be able to do this, we need to simulate the device actors somehow to exercise
|
||||
various normal or failure scenarios. Thankfully we took the list of collaborators (actually a `Map`) as a parameter
|
||||
to the query actor, so we can pass in @scala[`TestProbe`] @java[`TestKit`] references. In our first test, we try out the case when
|
||||
there are two devices and both report a temperature:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuerySpec.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuerySpec.scala) { #query-test-normal }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQueryTest.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQueryTest.java) { #query-test-normal }
|
||||
|
||||
That was the happy case, but we know that sometimes devices cannot provide a temperature measurement. This
|
||||
scenario is just slightly different from the previous:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuerySpec.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuerySpec.scala) { #query-test-no-reading }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQueryTest.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQueryTest.java) { #query-test-no-reading }
|
||||
|
||||
We also know, that sometimes device actors stop before answering:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuerySpec.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuerySpec.scala) { #query-test-stopped }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQueryTest.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQueryTest.java) { #query-test-stopped }
|
||||
|
||||
If you remember, there is another case related to device actors stopping. It is possible that we get a normal reply
|
||||
from a device actor, but then receive a `Terminated` for the same actor later. In this case, we would like to keep
|
||||
the first reply and not mark the device as `DeviceNotAvailable`. We should test this, too:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuerySpec.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuerySpec.scala) { #query-test-stopped-later }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQueryTest.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQueryTest.java) { #query-test-stopped-later }
|
||||
|
||||
The final case is when not all devices respond in time. To keep our test relatively fast, we will construct the
|
||||
`DeviceGroupQuery` actor with a smaller timeout:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupQuerySpec.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupQuerySpec.scala) { #query-test-timeout }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupQueryTest.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupQueryTest.java) { #query-test-timeout }
|
||||
|
||||
Our query works as expected now, it is time to include this new functionality in the `DeviceGroup` actor now.
|
||||
|
||||
## Adding query capability to the group
|
||||
|
||||
Including the query feature in the group actor is fairly simple now. We did all the heavy lifting in the query actor
|
||||
itself, the group actor only needs to create it with the right initial parameters and nothing else.
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroup.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroup.scala) { #query-added }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroup.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroup.java) { #query-added }
|
||||
|
||||
It is probably worth restating what we said at the beginning of the chapter. By keeping the temporary state that is only relevant to the query itself in a separate actor we keep the group actor implementation very simple. It delegates
|
||||
everything to child actors and therefore does not have to keep state that is not relevant to its core business. Also, multiple queries can now run parallel to each other, in fact, as many as needed. In our case querying an individual device actor is a fast operation, but if this were not the case, for example, because the remote sensors need to be contacted over the network, this design would significantly improve throughput.
|
||||
|
||||
We close this chapter by testing that everything works together. This test is a variant of the previous ones, now exercising the group query feature:
|
||||
|
||||
Scala
|
||||
: @@snip [DeviceGroupSpec.scala](/akka-docs/src/test/scala/tutorial_5/DeviceGroupSpec.scala) { #group-query-integration-test }
|
||||
|
||||
Java
|
||||
: @@snip [DeviceGroupTest.java](/akka-docs/src/test/java/jdocs/tutorial_5/DeviceGroupTest.java) { #group-query-integration-test }
|
||||
|
||||
## Summary
|
||||
In the context of the IoT system, this guide introduced the following concepts, among others. You can follow the links to review them if necessary:
|
||||
|
||||
* @ref:[The hierarchy of actors and their lifecycle](tutorial_1.md)
|
||||
* @ref:[The importance of designing messages for flexibility](tutorial_3.md)
|
||||
* @ref:[How to watch and stop actors, if necessary](tutorial_4.md#keeping-track-of-the-device-actors-in-the-group)
|
||||
|
||||
## What's Next?
|
||||
|
||||
To continue your journey with Akka, we recommend:
|
||||
|
||||
* Start building your own applications with Akka, make sure you [get involved in our amazing community](http://akka.io/get-involved) for help if you get stuck.
|
||||
* If you’d like some additional background, read the rest of the reference documentation and check out some of the @ref:[books and videos](../additional/books.md) on Akka.
|
||||
|
||||
To get from this guide to a complete application you would likely need to provide either an UI or an API. For this we recommend that you look at the following technologies and see what fits you:
|
||||
|
||||
* [Akka HTTP](https://doc.akka.io/docs/akka-http/current/introduction.html) is a HTTP server and client library, making it possible to publish and consume HTTP endpoints
|
||||
* [Play Framework](https://www.playframework.com) is a full fledged web framework that is built on top of Akka HTTP, it integrates well with Akka and can be used to create a complete modern web UI
|
||||
* [Lagom](https://www.lagomframework.com) is an opinionated microservice framework built on top of Akka, encoding many best practices around Akka and Play
|
||||
|
|
@ -1,8 +1,19 @@
|
|||
# Actors
|
||||
# Classic Actors
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[Actors](typed/actors.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
To use Akka Actors, you must add the following dependency in your project:
|
||||
To use Classic Akka Actors, you must add the following dependency in your project:
|
||||
|
||||
@@dependency[sbt,Maven,Gradle] {
|
||||
group="com.typesafe.akka"
|
||||
|
|
|
|||
20
akka-docs/src/main/paradox/index-classic.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Akka Classic
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
@@@
|
||||
|
||||
@@toc { depth=2 }
|
||||
|
||||
@@@ index
|
||||
|
||||
* [index-actors](index-actors.md)
|
||||
* [index-cluster](index-cluster.md)
|
||||
* [index-network](index-network.md)
|
||||
|
||||
@@@
|
||||
|
|
@ -1,4 +1,15 @@
|
|||
# Clustering
|
||||
# Classic Clustering
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[Cluster](typed/index-cluster.md).
|
||||
|
||||
@@@
|
||||
|
||||
@@toc { depth=2 }
|
||||
|
||||
|
|
@ -13,13 +24,5 @@
|
|||
* [cluster-sharding](cluster-sharding.md)
|
||||
* [cluster-metrics](cluster-metrics.md)
|
||||
* [distributed-data](distributed-data.md)
|
||||
* [cluster-dc](cluster-dc.md)
|
||||
* [serialization](serialization.md)
|
||||
* [serialization-jackson](serialization-jackson.md)
|
||||
* [multi-jvm-testing](multi-jvm-testing.md)
|
||||
* [multi-node-testing](multi-node-testing.md)
|
||||
* [remoting-artery](remoting-artery.md)
|
||||
* [remoting](remoting.md)
|
||||
|
||||
|
||||
@@@
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Networking
|
||||
# Classic Networking
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
FIXME https://github.com/akka/akka/issues/27263
|
||||
|
||||
@@@
|
||||
|
||||
@@toc { depth=2 }
|
||||
|
||||
|
|
|
|||
|
|
@ -5,13 +5,12 @@
|
|||
@@@ index
|
||||
|
||||
* [security/index](security/index.md)
|
||||
* [guide/index](guide/index.md)
|
||||
* [guide/index](typed/guide/index.md)
|
||||
* [general/index](general/index.md)
|
||||
* [index-actors](index-actors.md)
|
||||
* [index-typed](typed/index.md)
|
||||
* [index-cluster](index-cluster.md)
|
||||
* [index-actors](typed/index.md)
|
||||
* [persistence](typed/persistence.md)
|
||||
* [index-cluster](typed/index-cluster.md)
|
||||
* [stream/index](stream/index.md)
|
||||
* [index-network](index-network.md)
|
||||
* [discovery](discovery/index.md)
|
||||
* [coordination](coordination.md)
|
||||
* [index-utilities](index-utilities.md)
|
||||
|
|
@ -20,5 +19,6 @@
|
|||
* [howto](howto.md)
|
||||
* [project/index](project/index.md)
|
||||
* [additional/index](additional/index.md)
|
||||
* [classic](index-classic.md)
|
||||
|
||||
@@@
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Mailboxes
|
||||
# Classic Mailboxes
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see (FIXME https://github.com/akka/akka/issues/27124).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Persistent FSM
|
||||
# Classic Persistent FSM
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see FIXME https://github.com/akka/akka/issues/26490
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Persistence
|
||||
# Classic Persistence
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[persistence](typed/persistence.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Routing
|
||||
# Classic Routing
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[routers](typed/routers.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,16 @@
|
|||
# Scheduler
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[typed scheduling](typed/interaction-patterns.md#typed-scheduling).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
To use Scheduler, you must add the following dependency in your project:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
# Testing Actor Systems
|
||||
# Testing Classic Actors
|
||||
|
||||
@@@ note
|
||||
|
||||
Akka Classic is the original Actor APIs, which have been improved by more type safe and guided Actor APIs,
|
||||
known as Akka Typed. Akka Classic is still fully supported and existing applications can continue to use
|
||||
the classic APIs. It is also possible to use Akka Typed together with classic actors within the same
|
||||
ActorSystem, see @ref[coexistense](typed/coexisting.md). For new projects we recommend using the new Actor APIs.
|
||||
|
||||
For the new API see @ref[testing](typed/testing.md).
|
||||
|
||||
@@@
|
||||
|
||||
## Dependency
|
||||
|
||||
|
|
|
|||
19
akka-docs/src/main/paradox/typed/index-cluster.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Akka Cluster
|
||||
|
||||
@@toc { depth=2 }
|
||||
|
||||
@@@ index
|
||||
|
||||
* [cluster](cluster.md)
|
||||
* [distributed-data](distributed-data.md)
|
||||
* [cluster-singleton](cluster-singleton.md)
|
||||
* [cluster-sharding](cluster-sharding.md)
|
||||
* [serialization](../serialization.md)
|
||||
* [serialization-jackson](../serialization-jackson.md)
|
||||
* [multi-jvm-testing](../multi-jvm-testing.md)
|
||||
* [multi-node-testing](../multi-node-testing.md)
|
||||
* [cluster-dc](../cluster-dc.md)
|
||||
* [remoting-artery](../remoting-artery.md)
|
||||
* [remoting](../remoting.md)
|
||||
|
||||
@@@
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
# Akka Typed
|
||||
# Actors
|
||||
|
||||
@@toc { depth=2 }
|
||||
|
||||
@@@ index
|
||||
|
||||
* [guide](guide/index.md)
|
||||
* [actors](actors.md)
|
||||
* [dispatchers](dispatchers.md)
|
||||
* [coexisting](coexisting.md)
|
||||
|
|
@ -15,11 +14,6 @@
|
|||
* [routers](routers.md)
|
||||
* [stash](stash.md)
|
||||
* [stream](stream.md)
|
||||
* [cluster](cluster.md)
|
||||
* [distributed-data](distributed-data.md)
|
||||
* [cluster-singleton](cluster-singleton.md)
|
||||
* [cluster-sharding](cluster-sharding.md)
|
||||
* [persistence](persistence.md)
|
||||
* [fsm](fsm.md)
|
||||
* [testing](testing.md)
|
||||
|
||||
|
|
|
|||
|
|
@ -222,6 +222,7 @@ In an actual session child you would likely want to include some form of timeout
|
|||
* Children have life cycles that must be managed to not create a resource leak, it can be easy to miss a scenario where the session actor is not stopped
|
||||
* It increases complexity, since each such child can execute concurrently with other children and the parent
|
||||
|
||||
<a id="typed-scheduling"></a>
|
||||
## Scheduling messages to self
|
||||
|
||||
The following example demonstrates how to use timers to schedule messages to an actor.
|
||||
|
|
|
|||