Viktor Klang
607ec4c2cf
Switching approaches to check for max throttle
2012-02-13 18:14:35 +01:00
Patrik Nordwall
df1606a8ee
Adjustments based on review. See #1805
2012-02-08 14:03:31 +01:00
Patrik Nordwall
1f988889c2
Proper thread names for fork-join-executor. See #1805
2012-02-08 11:53:55 +01:00
Patrik Nordwall
799ab8b482
Fixed import clash when using java7, fj in java.util.concurrent._. See #1728
2012-01-30 20:38:40 +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
c1dd4463b9
Restructuring how executors are configured and making sure people can plug in their own
2012-01-30 13:44:56 +01:00
Roland
ac1ee9ae91
rework use of ClassLoaders, see #1736
2012-01-27 14:21:54 +01:00
Viktor Klang
a7e5da6819
Packaging the new FJ pool into Akka
2012-01-27 12:44:40 +01:00
Viktor Klang
f7a45c0e8f
Removing dead imports from akka-actor
2012-01-25 15:38:04 +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
149fbea5a7
Updating Copyright as per #1660
2012-01-19 18:21:06 +01:00
Viktor Klang
97280ffeed
Fixing master: Unborking of BalancingDispatcher, fixing of PinnedDispatcher config, not creating one dispatcher per message for PinnedDispatcher ;)
2012-01-19 12:15:49 +01:00
Viktor Klang
5fd515d16c
Removing MonitorableThread
2011-12-28 17:50:29 +01:00
Viktor Klang
f8aca9eee5
Adding ScalaDoc to ThreadPoolBuilder.scala
2011-12-28 12:43:28 +01:00
Viktor Klang
88d6b89163
Automatically changing min/max so that min is always <= max and max is always >= min
2011-12-27 15:07:36 +01:00
Viktor Klang
c2597ed33d
Adding debug messages for all remote exceptions, to ease debugging of remoting
2011-12-17 15:54:09 +01:00
Viktor Klang
7b7402c723
Making it easier to specify daemon-ness for the ThreadPoolConfig
2011-12-13 20:23:58 +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
Viktor Klang
aa9b077657
Adding support for range-based setting of pool sizes
2011-12-07 11:25:27 +01:00
Viktor Klang
93d093e87a
Commenting out the ForkJoin stuff until I've cleared some bits with Doug Lea
2011-12-02 17:29:47 +01:00
Viktor Klang
bf7befc690
Sprinkling some final magic sauce
2011-12-01 23:43:56 +01:00
Viktor Klang
ef27f865d4
Adding support for ForkJoinPoolConfig so you can use ForkJoin
2011-12-01 17:03:30 +01:00
Viktor Klang
80d766b07b
Adding DispatcherPrerequisites to hold the common dependencies that a dispatcher needs to be created
2011-11-17 16:09:18 +01:00
Roland
62032cb1ff
merge system-cleanup into master
2011-11-17 14:38:49 +01:00
Viktor Klang
727c7de58d
Removing bounded executors since they have probably never been used, also, removing possibility to specify own RejectedExecutionHandler since Akka needs to know what to do there anyway. Implementing a sane version of CallerRuns
2011-11-15 10:32:00 +01:00
Viktor Klang
a7e9ff4fba
Switching to AbortPolicy by default
2011-11-14 19:48:06 +01:00
Viktor Klang
66dd0123bc
Temporary fix for the throughput benchmark
2011-11-14 19:19:44 +01:00
Roland
f2bf27b4de
remove app argument from Dispatchers
...
(cascading into all dispatchers, mailboxes, other stuff; had to move
deadLetter stuff to ActorSystem again and split its initialization due
to cyclic dependency)
2011-11-14 16:03:26 +01:00
Roland
53353d7031
rename MainBus to EventStream (incl. field in ActorSystem)
2011-11-10 21:01:37 +01:00
Roland
945b1aedf9
rename akka.AkkaApplication to akka.actor.ActorSystem
...
Renaming it to System did not appeal after seeing that such a thing is
already imported from Predef ...
2011-11-10 21:00:01 +01:00
Roland
f46c6dc533
introducing: MainBus feat. LoggingBus
...
most tests passing, everything compiling, but docs not updated and nasty
thread-leak preventing me from running the whole test-suite (which is
the reason for this commit: I want to chase down that one first).
- the app.mainbus is classified by Class[_] (currently lookup, will
possibly change to sub-class-aware) and accepts AnyRef messages
- LoggingBus handles akka.event-handlers from config specially:
+ start them as system services, supervised by SystemGuardian
+ keep their subscriptions in sync when logLevel_= is called
+ send them InitializeLogger(bus) message before subscribing them (so
they can register for extras like Mute/UnMute)
- two-phased start-up: first phase with actor-less stdout logging, then
subscription of config loggers, then remove stdout logger (logLevels
configurable separately)
- MainBusReaper watches registered receivers and unsubscribes them upon
death (started in phase 2)
- logger factory on Logging object, needs app/bus and log source;
default instance in app.log
2011-10-27 12:36:22 +02:00
Roland
44b94643e5
Merge with Peter's work (i.e. merging master into tame-globals)
2011-10-13 14:17:07 +02:00
Roland
85b7accfd4
make EventHandler non-global
...
- add Logging trait for nicer interface
- add EventHandlerLogging class for offering the nice interface from
app.log
- add eventHandler instance to app and use that for all internal logging
(this means that some places (dispatchers, remoting) were infiltrated
by app just to do logging, but I think we'll need app in there soon
enough for other reasons)
2011-10-13 13:21:59 +02:00
Viktor Klang
3567d554fb
Adding documentation for the ExecutorService and ThreadPoolConfig DSLs
2011-10-12 18:21:12 +02:00
Viktor Klang
a909bf8d08
#1140 - Adding support for specifying ArrayBlockingQueue or LinkedBlockingQueue in akka.conf and in the builder
2011-08-24 12:42:39 +02:00
Peter Veentjer
1c39ed1ad6
cleanup of unused imports
2011-08-13 08:27:10 +03:00
Viktor Klang
9d71be7778
Updating copyright section to Typesafe Inc. etc
2011-07-14 16:03:08 +02:00
Viktor Klang
522a163114
Adding support for daemonizing MonitorableThreads
2011-07-11 18:54:15 +02:00
Viktor Klang
fc51bc4864
Adding support for ForkJoin dispatcher as FJDispatcher
2011-07-01 22:36:39 +02:00
Jonas Bonér
85e742373a
- Made ClusterActorRef not extends RemoteActorRef anymore
...
- Refactored and cleaned up Transaction Log initialization
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-07 20:10:08 -07:00
Jonas Bonér
a7311c83e6
Added Scalariform sbt plugin which formats code on each compile. Also checking in reformatted code
2011-05-18 17:25:30 +02:00
Jonas Bonér
2655d44ee9
Merged wip-2.0 branch with latest master
2011-05-16 12:32:00 +02:00
Peter Vlugter
6f17d2cf6d
Fix @deprecated warnings
2011-05-06 11:55:58 +12:00
Patrik Nordwall
6576cd51e9
Scala style fixes, added parens for side effecting shutdown methods
2011-04-29 10:20:16 +02:00
Viktor Klang
3f49eadedc
Removing more deprecation warnings and more client-managed actors residue
2011-04-07 13:03:23 +02:00
Jonas Bonér
3d529e8ca4
Added check to ensure that messages are not null. Also cleaned up misc code
2011-03-30 15:12:58 +02:00
Jonas Bonér
6429086b51
Moved EventHandler to 'akka.event' plus added 'error' method without exception param
2011-03-23 15:12:09 +01:00
Jonas Bonér
299f865156
Fixed bug with restarting supervised supervisor that had done linking in constructor + Changed all calls to EventHandler to use direct 'error' and 'warning' methods for improved performance
2011-03-18 23:04:48 +01:00
Jonas Bonér
f8ce3d541e
Changed API for EventHandler and added support for log levels
2011-03-14 10:45:49 +01:00