Commit graph

20524 commits

Author SHA1 Message Date
Konrad Malawski
b77a511bba Merge pull request #19347 from spray/w/19340-fix-ws-termination
Fix #19340
2016-01-05 10:05:39 +01:00
Konrad Malawski
544a4deed0 +htc #19237 entity#withSizeLimit for Java + add withoutSizeLimit 2016-01-05 02:43:59 +01:00
Konrad Malawski
cdc55d71ff =htc add explicit override keyword where apropriate 2016-01-05 02:43:22 +01:00
Konrad Malawski
e778d05130 Merge pull request #19329 from akka/wip-19327-fix-inputstreamsinkspec-√
=str - 19327 - Fixes race condition in InputStreamSinkSpec
2016-01-04 23:37:07 +01:00
galarragas
9814ff5613 Upper case for Implicits object and made the CircuitOpenException extending RuntimeException 2016-01-04 19:10:30 +00:00
Johannes Rudolph
a1d99361c2 =htc #19340 fix broken user-handler completion in WS
This regression was introduced during the switch from `headAndTail` to
`prefixAndTail(1)`.
2016-01-04 17:42:52 +01:00
Johannes Rudolph
e017792e4e =htc cleanup imports 2016-01-04 11:14:12 +01:00
Viktor Klang
fc4cdcdf53 =str - 19327 - Fixes race condition in InputStreamSinkSpec
+ Cleanup of that spec
2016-01-02 21:28:17 +01:00
galarragas
adf49a33f0 Added copyright header to askExtensions.scala file and did some small improvement to ScalaDocs and rst documentation 2016-01-02 16:02:54 +00:00
galarragas
60474815fd Trying to fix build failures about not thrown exceptions in ScalaDoc 2016-01-01 15:50:59 +00:00
galarragas
fd99051356 Trying to fix build failures about not thrown exceptions in ScalaDoc and not found reference to akka.pattern.ask 2016-01-01 15:17:35 +00:00
galarragas
b55097178f Post revision changes:
- Refactored the part associated to the `failForOpenCircuit` extension to Future was done.
  - Moved implicit conversion into a specific class. Not requiring anymore the `._` import but importing only the implicit conversion needed
  - Added a `askWithCircuitBreaker` approach to replace the ask and the following `failForOpenCircuit`
- Compacted all samples in the same file and added the copyright header
- Improved documentation
2016-01-01 12:26:16 +00:00
galarragas
8757838ad2 Post revision changes:
- Added handling of termination of target actor
- Introduced a Passthrough command type to allow sending message to the target actor in any state. It is intended for control messages such as `PoisonPill` or `Kill`
2015-12-31 20:57:42 +00:00
galarragas
ce7d76cec5 Post revision changes:
- Reordered message cases for Closed state management
- Improved error message for unexpected self-sent circuit open message
2015-12-31 19:24:26 +00:00
galarragas
36a420fcc8 Post revision changes:
- Renamed the circuit breaker actor into a proxy for clarity and small renaming of the builder
- Added Java-friendly `with` copy methods to `CircuitBreakerPropsBuilder`
- Refactored a test not using the scenario trait as others
2015-12-31 19:15:10 +00:00
galarragas
b1980992f9 Post revision changes:
- Added reference to the circuit breaker pattern function in the CircuitBreakerActor scaladoc
- made `final` classes `OpenCircuitException` and `CircuitBreakerActor`
- Renamed `CircuitBreakerActorBuilder` into `CircuitBreakerActorPropsBuilder` and renamed the `propsForTarget` method into `props`
2015-12-31 18:46:29 +00:00
Konrad Malawski
e0e84fab7b Merge pull request #19314 from kryger/doc-akka-sbt-templates
=doc #19302 fix activator link in getting started docs
2015-12-30 14:51:20 +01:00
Lukasz Kryger
7aed6fb2ff =doc #19302 fix activator link in getting started docs 2015-12-30 13:44:44 +00:00
Konrad Malawski
7229bb66dd Merge pull request #19281 from RayRoestenburg/wip-RayRoestenburg/#19246
#19246 Auto and manual reset and `BackoffOptions`.
2015-12-29 23:01:47 +01:00
Konrad Malawski
1ac9b4eafb Merge pull request #19308 from hbf/19299_benchmark_for_flatMapMergre_hbf
Benchmark for the flatMapMerge operator
2015-12-29 22:18:11 +01:00
Raymond Roestenburg
2404a9da01 #19246 Auto and manual reset and BackoffOptions.
Also moved `TransparantExponentialBackoffSupervisor` to `akka.pattern` (renamed to `BackoffOnRestartSupervisor`)
2015-12-29 21:23:16 +02:00
Konrad Malawski
031147d322 Merge pull request #19273 from talp-traiana/per-19221-eager-plugin-initialization
=per #19221 Eager initialization of persistence plugins
2015-12-29 16:43:24 +01:00
Konrad Malawski
a671035bb0 =doc link to contributing.md from readme 2015-12-29 14:39:37 +01:00
Konrad Malawski
f9344ab7d9 Merge pull request #19307 from agolubev/agolubev-#18967-Source.actorRef-take-name-from-stage
=str #18967 Source.actorRef really take name from the stage
2015-12-29 11:31:39 +01:00
Kaspar Fischer
6bf2f53a21 Benchmark for the flatMapMerge operator
Add a JMH benchmark for Flow.flatMapMerge(). The benchmark processes
100k elements that – depending on the parameter NumberOfStreams – come
from:

- NumberOfStreams=0: a single source. In this case, flatMapMerge() is
  not used. This is the base line against which the other tests run.
- NumberOfStreams>0: the 100k elements come from NumberOfStreams-many
  sources, each of which produces (100k/NumberOfStreams)-many elements.
  The sources are merged together via flatMapMerge().

Notice that in the latter case, the sources are pre-fused to make the
comparison as fair as possible.
2015-12-28 21:01:27 -08:00
Alexander Golubev
a16f87153e =str #18967 Source.actorRef really take name from the stage
test added
2015-12-28 22:32:07 -05:00
Konrad Malawski
2bade93c31 Merge pull request #19305 from kryger/master
=doc Add the missing closing parenthesis
2015-12-28 15:01:59 +01:00
Lukasz Kryger
f181aa0334 Make it clear that AkkaAppPackaging is actually deprecated
Also, fix missing closing parenthesis.
2015-12-28 13:47:42 +00:00
Konrad Malawski
be1429d01c Merge pull request #19301 from kryger/patch-1
Fix link to SBT installation instructions
2015-12-28 14:24:22 +01:00
Lukasz Kryger
739ef5e7d1 Fix link to SBT installation instructions
https://github.com/harrah/xsbt/wiki/Setup defunct, documentation moved to www.scala-sbt.org. Replaced the link with the best match I could find.
2015-12-28 13:01:29 +00:00
Konrad Malawski
5ba935c53a Merge pull request #19300 from ktoso/wip-missing-copy
=str add missing copyright comments
2015-12-28 13:55:51 +01:00
Konrad Malawski
f29bb746c5 =str add missing copyright comment 2015-12-28 13:54:30 +01:00
Konrad Malawski
9a648105c2 Merge pull request #19297 from bdrupieski/fix-dist-pub-sub-doc-bdrupieski
fix error in distributed pub sub documentation
2015-12-28 12:03:08 +01:00
Konrad Malawski
ebbd9c4f49 Merge pull request #19295 from akka/wip-19274-down-joining-patrikw
=clu #19274 failure detection of joining/down member status
2015-12-28 10:40:25 +01:00
Konrad Malawski
ff9fa92b2d Merge pull request #19284 from briantopping/leveldb-osgi
=per #19283 Fix OSGi manifest for optional LevelDB dependency
2015-12-27 16:14:46 +01:00
Tal Pressman
70130549df =per #19221 Eager initialization of persistence plugins
* Initialization is performed during Persistence initialization, so for this to work the persistence extension should be specified under akka.extensions
2015-12-27 10:10:16 +02:00
Brian Drupieski
35d804b5ed fix error in distributed pub sub documentation 2015-12-26 23:56:41 -05:00
Patrik Nordwall
4d64901228 =clu #19274 failure detection of joining/down member status
* Failure detection heartbeating was not performed to joining
  nodes, since it was expected that they will become Up first.
* If a joining node is downed before it is changed to Up failure
  detection will not be performed for that node. That resulted in
  the downed node will not be removed from membership, since the
  unreachability signal is used as confirmation that the node is
  actually stopped before removing it.
2015-12-26 11:30:18 +01:00
galarragas
fd5b872a43 Post revision changes:
- Moved sample code in source files
- Text review
- Proper use of RST syntax
- Improved ScalaDoc
2015-12-25 15:27:45 +00:00
Konrad Malawski
ae5a7484b4 Merge pull request #19289 from Spycho/patch-1
=pro #19288 Fix grammar in CONTRIBUTING.md
2015-12-25 13:59:59 +01:00
galarragas
457ccc1250 Post revision changes:
- Typo in documentation
- Made case classes `final`
- Hidden the actor's `log` with one passed as parameter to the method
2015-12-25 10:00:03 +00:00
Chris Brett
6ab8bf295c =pro #19288 Fix grammar in CONTRIBUTING.md
guidelines mainly applies -> guidelines mainly apply
2015-12-24 14:23:38 +00:00
Brian Topping
15ee6268b3 =per #19283 Fix OSGi manifest for optional LevelDB dependency 2015-12-23 21:09:30 -07:00
Konrad Malawski
c1b1b4346b Merge pull request #19280 from ktoso/wip-docs-request-level
=doc make missing snippets errors again
2015-12-23 18:43:19 +01:00
Konrad Malawski
e5b2695c5e =doc make missing snippets errors again 2015-12-23 18:41:35 +01:00
Konrad Malawski
960830c691 Merge pull request #19279 from ktoso/wip-docs-request-level
=doc,htc #19252 fix docs where occasionally broken
2015-12-23 18:36:47 +01:00
Konrad Malawski
d64c4a6546 =doc make missing snippets errors again 2015-12-23 18:34:37 +01:00
Konrad Malawski
ff152b816d =doc,htc #19252 fix docs where occasionally broken 2015-12-23 18:30:34 +01:00
Konrad Malawski
cf1a5611a8 Merge pull request #19277 from ktoso/wip-docs-request-level
=htc #19276 explain draining of entities is needed
2015-12-23 16:34:41 +01:00
Konrad Malawski
2f762c995b =htc #19276 explain draining of entities is needed 2015-12-23 16:26:27 +01:00