Patrik Nordwall
db0e170d32
support for safe timers, periodic scheduling, #16742
...
* implemented an Intercept behavior that can handle the
scheduled TimerMsg, even though it's of a different type
* Intercept is similar to Tap but more powerful, implemented
Tap with Intercept. Intercept is internal API.
* When wrapping a behavior, e.g. Tap, the outer behavior must also be
Deferred if the wrapped behavior is Deferred
* PostStop not signaled when stopped voluntarily, intercept messages
to cancel timers when stopped is returned
2017-05-04 13:06:59 +02:00
Patrik Nordwall
c55fec6a43
Merge pull request #22829 from akka/wip-lower-scaladsl-patriknw
...
rename Actor behavior factory methods to lower case, #22805
2017-05-04 12:58:24 +02:00
Patrik Nordwall
01c3550677
Merge pull request #22806 from akka/wip-22804-spawnAdapter-patriknw
...
rename createAdapter to spawnAdapter (again), #22804
2017-05-04 12:56:58 +02:00
Patrik Nordwall
dd14c7d85e
Merge pull request #22832 from akka/wip-22763-TypedSpecSpec-patriknw
...
silence scary printTree in TypedSpecSpec, #22763
2017-05-03 15:59:35 +02:00
Patrik Nordwall
24f625393f
Merge pull request #22831 from akka/wip-typed-protocal-patriknw
...
use "akka" as protocol also for typed
2017-05-03 15:58:59 +02:00
Patrik Nordwall
bc01d936f1
silence scary printTree in TypedSpecSpec, #22763
2017-05-02 21:11:12 +02:00
Patrik Nordwall
a2bf46f901
use "akka" as protocol also for typed
2017-05-02 20:56:49 +02:00
Patrik Nordwall
39ad32601a
rename Actor behavior factory methods to lower case, #22805
2017-05-02 20:13:20 +02:00
Patrik Nordwall
163248198c
refactoring of ActorContext hierarchy, #22804
...
* by making akka.typed.ActorContext empty, only providing
asScala and asJava the mixed scaladsl and javadsl is never
exposed to user
* thereby no ambigious spawnAdapter overload
* the only time akka.typed.ActorContext is exposed is when
implementing an ExtensibleBehavior, but that should be rare
and it's good to explicity choose asJava or asScala in that case
* no overhead since all of them are still the same instance
2017-05-02 20:06:36 +02:00
Patrik Nordwall
202c2340da
rename createAdapter to spawnAdapter (again), #22804
2017-05-02 19:57:55 +02:00
Johan Andrén
cae2f57abf
Rename DeploymentConfig to Props #22660
2017-05-02 15:01:18 +02:00
Patrik Nordwall
326bc9c909
Merge pull request #22801 from akka/wip-22749-javadsl-patriknw
...
implement javadsl in Scala, #22749
2017-04-28 17:51:23 +02:00
Patrik Nordwall
2eb41b910a
implement javadsl in Scala, #22749
...
* and separate scaladsl api and impl, #22749
2017-04-28 15:46:27 +02:00
Patrik Nordwall
fabb81e52c
Merge pull request #22765 from akka/wip-21217-restart-patriknw
...
complete and test Restarter, #21217
2017-04-28 15:40:42 +02:00
Patrik Nordwall
aceca4cc24
complete and test Restarter, #21217
...
* supervisor strategies API
* limited restarts
* backoff restarts
* tests
* eager creation (not on first message) of underlying behavior of Restarter
2017-04-28 15:07:06 +02:00
Patrik Nordwall
946f2ffd4e
add testkit for real asynchronous testing, #22764
2017-04-28 15:03:09 +02:00
Martynas Mickevičius
18062ef06e
Merge pull request #22798 from 2m/wip-22662-on-signal-partial-2m
...
#22662 Partial Function for onSignal
2017-04-28 13:48:50 +03:00
Martynas Mickevičius
8c8683c80d
#22662 Partial application for signal management
2017-04-28 08:33:28 +03:00
Martynas Mickevičius
6cbd80e86e
#22662 Convert onSignal to partial function
2017-04-28 08:31:53 +03:00
Martynas Mickevičius
e3e2f32592
#22662 Refactor to onSignal builder method instead of constructor parameter
2017-04-28 08:31:53 +03:00
Patrik Nordwall
d4947010f4
Merge pull request #22767 from ktoso/wip-typed-expose-same-behavior
...
=typ #22736 expose Behavior.Same and friends
2017-04-27 11:35:20 +02:00
Patrik Nordwall
df3353a066
Merge pull request #22739 from ktoso/wip-typed-hide-bang
...
+typ #22663 move symbolic ! into implicit class of ActorRef
2017-04-27 11:00:35 +02:00
Patrik Nordwall
7c814fd20a
Merge pull request #22800 from akka/TypedSpecSpecStopActorSystem
...
Stop adapted actorsystem after running TypedSpec (#22763 )
2017-04-27 10:58:34 +02:00
Patrik Nordwall
ef1ea6f0ea
Merge pull request #22799 from stanislav-chetvertkov/wip-22718-2
...
Rename `management` to `receiveSignal` and `message` to `receiveMessa…
2017-04-27 08:35:43 +02:00
Arnout Engelen
e63239e337
Stop adapted actorsystem after running TypedSpec ( #22763 )
2017-04-26 17:05:12 +02:00
Arnout Engelen
eb7ba7fc48
Remove reference to Total from akka-typed docs #22610 ( #22797 )
2017-04-26 07:20:19 -07:00
stanislav
3d031c0262
Rename management to receiveSignal and message to receiveMessage #22718
2017-04-26 17:13:00 +03:00
Arnout Engelen
cccadc6ec7
Rename 'stateful' to 'immutable' in MonitoringTest too ( #22793 )
2017-04-26 02:04:45 -07:00
Konrad `ktoso` Malawski
6c40da71dd
=typ #22736 expose Behavior.Same and friends
2017-04-24 17:19:52 +09:00
Arnout Engelen
2065edb3d1
Add generic parameter to watch/unwatch ( #22696 )
...
@ktoso mentioned in https://github.com/akka/akka/pull/22683#discussion_r110620041
this makes the methods more usable in the Java API. Added a test showing monitoring (watching) from the Java API
2017-04-21 16:26:26 +02:00
Patrik Nordwall
4b12ce2376
Merge pull request #22744 from 2m/wip/22687/undefer-poststop/2m
...
Do not interpret DeferredBehaviors on termination
2017-04-21 08:46:47 +02:00
Martynas Mickevičius
f75bb75f3e
#22744 Remove preStart
2017-04-20 12:23:39 +03:00
Martynas Mickevičius
124c374a5f
#22687 Undefer before terminate
2017-04-20 11:09:38 +03:00
Patrik Nordwall
70d8c42b05
Merge pull request #22752 from akka/wip-22325-rm-stateless-patriknw
...
remove stateless, rename stateful to immutable, #22325
2017-04-20 10:02:28 +02:00
Patrik Nordwall
8b2e4ed33f
remove stateless, rename stateful to immutable, #22325
2017-04-20 10:01:34 +02:00
Patrik Nordwall
961b4bad2b
typed MutableBehavior API ( #22732 )
...
* API suggestion of MutableBehavior
* cleanup
* moved IntroSpec to akka-typed-tests for more efficient dev environment
* scaladsl.MutableBehavior
* add mutable to BehaviorSpec
* return this instead of same
2017-04-20 09:58:48 +02:00
Konrad `ktoso` Malawski
e6a99251c2
+typ #22663 move symbolic ! into implicit class of ActorRef
2017-04-19 13:04:06 +09:00
Patrik Nordwall
1f29eb1a8f
Merge pull request #22681 from akka/wip-22174-typed-untyped-patrik
...
Complete adapter API for coexistence of typed and untyped actors, #22174
2017-04-12 17:48:09 +02:00
Patrik Nordwall
ebb5748d6a
Complete adapter API for coexistence of typed and untyped actors, #22174
...
* Trying out what is working and what is missing with a test
* Add missing API and cleanup (public vs internal)
* Note that PropsAdapter will make it possible to use Cluster Sharding
with typed entity actors
* add javadsl for the adapters, and full java tests for that
* Add narrow to ActorRef
2017-04-12 16:38:06 +02:00
Martynas Mickevičius
6bbd658817
Merge pull request #22686 from 2m/wip/split-typed-testkit/21524/2m
...
#21524 Split out typed testkit
2017-04-11 11:45:38 +03:00
Martynas Mickevičius
e6dbc865e9
#21524 Moved {Stubbed,Effectful}ActorContext to testkit
2017-04-10 13:41:19 +03:00
Martynas Mickevičius
b6aea3c612
#21524 Disable MiMa for Typed testkit
2017-04-10 13:31:09 +03:00
Martynas Mickevičius
7f63c58e20
#21524 Add missing formatter settings
2017-04-10 13:31:09 +03:00
Martynas Mickevičius
0af4b63b78
#21524 Add typed tests dependency to docs
2017-04-10 13:31:09 +03:00
Martynas Mickevičius
d4b7b63424
#21524 Split out typed testkit
2017-04-10 13:31:09 +03:00
Arnout Engelen
a158633e85
Merge pull request #22683 from akka/wip-akka-typed-watch-return-void
...
Make 'watch' and 'unwatch' return void (#22664 )
2017-04-09 19:44:03 +02:00
Arnout Engelen
2b09868f01
Make 'watch' and 'unwatch' return void ( #22664 )
...
This indeed makes both the call sites and the implementations a little more
elegant. The only non-trivial change was in EventStreamSpec, which while a bit
more verbose, seems more readable like this, too.
2017-04-05 16:40:01 +02:00
Johan Andrén
ae467b1528
Interpreted behaviors in Akka Typed ( #22670 )
2017-04-04 13:17:16 +02:00
Patrik Nordwall
fcbda8157f
Merge pull request #22621 from drewhk/wip-new-docs-2-drewhk
...
Towards getting-started docs
2017-04-03 10:01:44 +02:00
Patrik Nordwall
650e7b9a7f
Merge pull request #22583 from akka/wip-sub-stream-bench-patriknw
...
add sub-stream benchmark
2017-03-31 16:29:50 +02:00