Viktor Klang
66c1e2d835
Sprinkling some finals and adding return types
2012-02-06 15:42:28 +01:00
Viktor Klang
09c44289d4
Creating our own FJTask and escalate exceptions to UHE
2012-02-06 15:19:05 +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
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
96412ba1ad
Adding ExecutionContext docs for futures, and adding a Java-friendly ExecutionContexts object
2012-02-03 10:35:05 +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
Patrik Nordwall
f13b5356f7
Second stab at revised error handling. See #1310
2012-01-31 14:44:14 +01:00
Viktor Klang
d0d2bee5c6
Adding correct classloader to executor config
2012-01-31 10:22:20 +01:00
Viktor Klang
3d226cb8ef
Switching to fork join as default dispatcher and adding tests for it
2012-01-31 10:12:45 +01:00
Viktor Klang
465c29107d
Migrating tests to use the new config for dispatchers
2012-01-30 16:34:25 +01:00
Viktor Klang
8bc6513911
Merge branch 'master' into wip-1728-fjpool-√
2012-01-30 16:08:04 +01:00
Viktor Klang
847a2e1885
Adding support for the ForkJoinPool
2012-01-30 15:34:56 +01:00
Viktor Klang
c1dd4463b9
Restructuring how executors are configured and making sure people can plug in their own
2012-01-30 13:44:56 +01:00
Roland
4fb0858e55
remote cleanup: include feedback from Viktor and Patrik
...
- re-label Client/Server to Inbound/Outbound for netty settings
description
- move to just using exactly one class loader for all reflective
activities of the ActorSystem, which is either the context class
loader or the one which loaded the ActorSystem’s class; document that
putting Akka on boot class path will not work
- be more careful with initializing the Client- and ServerBootstrap
- rename Port to DesiredPortFromConfig to discourage misuse
- write test for NettySettings
- various small fixes
2012-01-30 11:57:24 +01:00
Viktor Klang
b045383a72
Changing signature of the createThreadPool in MDC to return the MD
2012-01-27 15:30:24 +01:00
Viktor Klang
9318f700c5
Fixing so that it's possible to add the FJ config to MessageDispatcherConfigurator
2012-01-27 14:58:17 +01:00
Roland
ac1ee9ae91
rework use of ClassLoaders, see #1736
2012-01-27 14:21:54 +01:00
Viktor Klang
42d3328815
Moving tests after first invocation
2012-01-21 01:33:07 +01:00
Viktor Klang
8dfe619140
#1703 & #1693 - moving daemonicity to one place, and in doing so creating a thread factory in ActorSystem
2012-01-20 12:30:19 +01:00
Viktor Klang
d888ca5bff
Removing 'name' from dispatchers, just use id, much better
2012-01-19 19:08:51 +01:00
Viktor Klang
149fbea5a7
Updating Copyright as per #1660
2012-01-19 18:21:06 +01:00
Viktor Klang
5006f96348
Moving the creation fo the Create() message to ActorCell
2012-01-17 14:51:21 +01:00
Viktor Klang
e4b6cfbfbe
Revering moving of the Create() message, leave it there ;)
2012-01-17 14:39:02 +01:00
Viktor Klang
1756b6aa54
FIXMEs, young grasshopper
2012-01-16 20:18:08 +01:00
Roland
d0498eb32e
add Class[_] to LogEvent
...
- it is customary to use class name for categorizing logs, hence we
should support it; class is taken from logSource.getClass
- update SLF4J module to use logClass as category and set logSource in
MDC "akkaSource"
- add docs
2012-01-12 13:29:17 +01:00
Viktor Klang
1f1288ac03
Fixing typeSignature in ExecutionContext
2011-12-30 16:26:30 +01:00
Viktor Klang
2b250f8e4c
Added converters from Executor and ExecutorService to ExecutionContext
2011-12-30 15:54:27 +01:00
Viktor Klang
b7cf3e9541
Adding ScalaDoc to ExecutionContext
2011-12-30 13:51:07 +01:00
Viktor Klang
b34dc4c33b
Introducing ExecutionContext to MessageDispatcher and attaching it to Future
2011-12-30 13:48:31 +01:00
Viktor Klang
9701685897
Adding support for verifying serializability of Props.creator as well
2011-12-27 17:30:05 +01:00
Viktor Klang
642b3aae2b
Making sure it deserializes too
2011-12-27 16:42:42 +01:00
Viktor Klang
5ff8f4e2a4
Verifying serializability of messages when serialize is on
2011-12-27 16:25:26 +01:00
Viktor Klang
8db3f6aa0a
Removing mailboxIsEmpty and mailboxSize from MessageDispatcher
2011-12-27 14:43:37 +01:00
Patrik Nordwall
0ff920195c
Updated documentation. See #1458
2011-12-21 21:24:57 +01:00
Patrik Nordwall
c4401f1ca8
Changed so that the configured FQCN of the mailboxType must be a MailboxType, not the Mailbox. See #1458
2011-12-21 19:37:18 +01:00
Patrik Nordwall
df260f8939
Improvements based on feedback. See #1458
2011-12-21 19:02:06 +01:00
Patrik Nordwall
f772b0183e
Initial commit of dispatcher key refactoring, for review. See #1458
...
* Changed signatures and constructor of MessageDispatcherConfigurator
* Changed Dispatchers.lookup, keep configurators instead of dispatchers
* Removed most of the Dispatchers.newX methods, newDispatcher is still there because of priority mailbox
* How should we make it easy to configure priority mailbox?
* Changed tons tests
* Documentation and ScalaDoc is not updated yet
* Some tests in ActorModelSpec are temporary ignored due to failure
2011-12-21 13:27:50 +01:00
Patrik Nordwall
60f45c72f6
Move dispatcher-shutdown-timeout to dispatcher config. See #1512 .
2011-12-20 13:40:51 +01:00
Patrik Nordwall
61813c6635
Make MailboxType implementation configurable. See #1484
...
* Added mailboxType property to dispatcher config
* Changed durable mailboxes to use this
* Updated docs for durable mailboxes
2011-12-19 21:41:02 +01:00
Viktor Klang
89e29b07e1
Adding daemonicity to the dispatcher configurator
2011-12-13 20:24:09 +01:00
Roland
92e7693203
Merge remote-tracking branch 'origin/master' into wip-remote-supervision-rk
2011-12-13 16:59:43 +01:00
Jonas Bonér
4d649c3903
Removed all @author tags for Jonas Bonér since it has lost its meaning.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-09 18:44:59 +01:00
patriknw
02889404fe
Merge pull request #143 from jboner/wip-1435-doc-java-actors-patriknw
...
Updated documentation of Actors (Java). See #1435
2011-12-09 04:32:24 -08:00
Patrik Nordwall
f28a1f3834
Fixed another shutdown of dispatcher issue. See #1454
2011-12-09 12:16:13 +01:00
Patrik Nordwall
ce128740ab
Updated documentation of Actors (Java). See #1435
...
* Aligned the Java and Scala documentation for Actors
* Implemented hotswap samples in Java, and documented in same way as Scala docs
* Improved Actors (Scala) docs
* Fixed wrong preRestart and postRestart in UntypedActor
* Changed name of Dispatchers.fromConfig to newFromConfig and made it Java friendly
* Added ActorRef.ask with Timeout parameter in addition to the timeoutMillis
2011-12-08 19:30:04 +01:00
Roland
fac840adfc
make remote lookup work
...
- create RemoteActorRef in actorFor
- simplify send/receive because Futures/Exceptions do not go over the
wire anymore
- add RemoteCommunicationSpec which uses two ActorSystems communicating
in the same JVM via TCP socket
2011-12-08 14:44:05 +01:00
patriknw
738857ccc2
Merge pull request #137 from jboner/wip-1435-doc-scala-actors-patriknw
...
Updated documentation of Actors Scala. See #1435
2011-12-07 08:11:06 -08:00
Viktor Klang
72d69cb7cc
Moving all the logic for cleaning up mailboxes into the mailbox implementation itself
2011-12-07 15:51:46 +01:00