Viktor Klang
c32d22d7b8
Fixing erronous docs for Future.reduce
2012-07-12 15:59:58 +02:00
viktorklang
04ba2cf490
Clarified Awaitable doc.
2012-05-27 23:18:32 +03:00
Viktor Klang
57ca80ab50
#2046 - Remove PromiseStream
2012-05-07 19:49:55 +02:00
Roland
a5f6c5c1a7
improve exception niceness for future await timeout
2012-05-03 21:25:49 +02:00
Roland
afd81d8506
Revert "closes #2019 : Use parentheses for arity-0 methods which are not referentially transparent"
...
This reverts commit 8dbfbbe966 .
2012-05-03 21:14:47 +02:00
viktorklang
55dc5106a4
Merge pull request #417 from akka/issue-2019
...
closes #2019 : Use parentheses for arity-0 methods which are not referent...
2012-04-27 06:46:44 -07:00
viktorklang
b0f2120ed3
Merge pull request #418 from akka/wip-2020-throws-clause-for-java-api-√
...
#2020 - Adding 'checkedApply' to Mapper to allow for binary compatible r...
2012-04-26 15:44:25 -07:00
Viktor Klang
fbb3356fb0
#2023 - Switching from ARFU to Unsafe for the DefaultPromise
2012-04-26 02:12:59 +02:00
Viktor Klang
a863f135e0
#2020 - Adding 'checkedApply' to Mapper to allow for binary compatible retrofit. And then @throws on the other Java Callbacks
2012-04-24 17:56:18 +02:00
Heiko Seeberger
8dbfbbe966
closes #2019 : Use parentheses for arity-0 methods which are not referentially transparent
2012-04-24 16:38:21 +02:00
Havoc Pennington
e92381103d
Add a warning to Future methods that take an async callback.
...
Note that the callbacks run in another thread and suggest
some ways to avoid this issue.
2012-03-07 18:37:02 -05:00
Roland
73170d1f4b
Merge remote-tracking branch 'origin/master' into testing-2.9.2
2012-02-28 10:52:27 +01:00
Derek Williams
b730c0b427
Capture early exception within Future.flow, fixes #1869
2012-02-27 20:01:08 -07:00
Viktor Klang
46b9b3cd43
Removing the Filter class, keeping Filter.filterOf
2012-02-27 11:08:02 +01:00
Roland
59104d03a1
clarify purpose of akka.dispatch.Filter in scaladoc
2012-02-26 21:53:17 +01:00
Roland
0cb2184904
make it compile in SBT & Eclipse with 2.9.2-SNAPSHOT
...
- there is one remaining bug, which makes it impossible to implement
Function1[T, Boolean] from Java (I wonder if this will ever work,
given that there is no equivalent type expressible in Java)
- hence create Function1 in Scala code, Java only prepares a Filter SAM
which does not inherit from anything
- ugly (one more alloc) but the only way I see right now.
2012-02-25 19:34:59 +01:00
Roland
74a36e5ddb
fix Future BoxedUnit stuff
2012-02-24 15:03:36 +01:00
Viktor Klang
d6ca3c9b5f
Clarifying the need for Future.blocking
2012-02-20 16:37:14 +01:00
viktorklang
5e2b74bfe6
Merge pull request #328 from jboner/wip-1821-checked-exceptions-√
...
First stab, do we want to go for throws Throwable or even just switch to...
2012-02-19 13:49:56 -08:00
Viktor Klang
258d710dab
Only aggregating callbacks for the same EC
2012-02-16 17:04:03 +01:00
Viktor Klang
e88f2bd936
First stab, do we want to go for throws Throwable or even just switch to RuntimeExceptions?
2012-02-16 12:31:49 +01:00
Roland
6786e45dc7
Merge branch 'wip-1804-router-create-race-∂π'
2012-02-10 14:38:51 +01:00
Roland
36247b10fe
fix some more comments and make Router dispatcher configurable
...
- assert locking balance when using Unsafe.instance.monitorExit
- add RouterConfig.routerDispatcher
- re-enable “busy” resizer test after switching to BalancingDispatcher
- document resizer asynchronicity and how to configure dispatchers
2012-02-10 14:13:40 +01:00
Viktor Klang
d910eeae69
Removing the erronous execution context and added Java API
2012-02-10 08:20:36 +01:00
Roland
bbe221e812
incorporate Viktor’s feedback and fix some stuff
...
- initial resize should be done directly
- must not require children unconditionally in Router constructor
- ResizerSpec changed timing due to asynchronous resizing, one test
disabled
- removed pointless volatile write in RouterActorRef
2012-02-09 22:58:28 +01:00
Viktor Klang
73fce52235
Fixing returns to return in ScalaDoc
2012-02-06 16:59:09 +01:00
Viktor Klang
fac0d2e509
Improving the imports of Future
2012-02-06 12:48:03 +01:00
Viktor Klang
a607fbd517
Adding type parameter to onComplete for better type inference. Making complete throw exception on race. Minor code improvements inside Future
2012-02-06 12:10:37 +01:00
Viktor Klang
3267ce51a0
Merge branch 'master' of github.com:jboner/akka
2012-02-03 15:00:38 +01:00
patriknw
370e2d9818
Merge pull request #282 from jboner/wip-1310-err2-patriknw
...
Second stab at revised error handling. See #1310
2012-02-03 05:07:06 -08:00
Viktor Klang
22530b51e0
Adding more Scaladoc to Await and Awaitable
2012-02-03 13:59:38 +01:00
Patrik Nordwall
09e13e271b
Merge branch 'master' into wip-1310-err2-patriknw
...
Conflicts:
akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala
akka-cluster/src/main/scala/akka/cluster/Cluster.scala
akka-cluster/src/main/scala/akka/cluster/TransactionLog.scala
akka-remote/src/main/scala/akka/remote/netty/NettyRemoteSupport.scala
2012-02-03 13:57:28 +01:00
Viktor Klang
fc144cf204
ScalaDoc can be stupid
2012-02-03 13:49:07 +01:00
Patrik Nordwall
eb4fc53051
Added cause to LogEventException and ajdusted logging in Future. See #1310
2012-02-03 11:15:42 +01:00
Patrik Nordwall
44b5ff056a
Added reportFailure for logging in ExecutionContext. See #1310
2012-02-03 10:37:31 +01:00
Viktor Klang
8193e61aee
Renaming tryRecover to recoverWith as in SIP14, adding parameter to foreach
2012-02-03 09:25:56 +01:00
Patrik Nordwall
5033647176
Fixed things from review. See #1310
2012-02-01 17:38:12 +01:00
Patrik Nordwall
c447f46224
Some polish on the error handling. See #1310
2012-02-01 14:40:12 +01:00
Viktor Klang
815245a133
Merging with master
2012-01-31 17:56:49 +01:00
Viktor Klang
92426a82d9
Renaming Future.or to fallbackTo
2012-01-31 17:19:38 +01:00
Patrik Nordwall
f13b5356f7
Second stab at revised error handling. See #1310
2012-01-31 14:44:14 +01:00
Viktor Klang
1a5e7590ea
Adding tests for tryRecover and andThen
2012-01-30 17:32:24 +01:00
Viktor Klang
5d2669769f
Making the ExecutionContext protected and adding tryRecover
2012-01-30 17:01:47 +01:00
Viktor Klang
1ebdcaca1a
Fixes after review
2012-01-26 17:47:31 +01:00
Viktor Klang
5ddf1afb20
Adding tests for recover and mapTo, adding API for creating manifests from Java and doccing things
2012-01-26 15:11:49 +01:00
Viktor Klang
99bf0aa87f
Merge with master
2012-01-26 14:16:24 +01:00
Viktor Klang
b310407334
wip
2012-01-26 14:15:25 +01:00
Viktor Klang
5f83340d5e
wip
2012-01-25 22:36:03 +01:00
Viktor Klang
9de08bb4ce
Review comments addressed
2012-01-25 16:23:06 +01:00
Viktor Klang
f7a45c0e8f
Removing dead imports from akka-actor
2012-01-25 15:38:04 +01:00