Roland
201885d125
incorporate Viktor’s review
...
- rename instance() to getInstance()
- add ScalaDoc
- some formatting
2012-04-10 16:59:23 +02:00
Roland
b6db48818a
add Java API for most case objects
...
- “case object” will emit a concrete class without constructor, so put
abstract class in its way in order to obtain an accessible type for
Scala & Java (i.e. without $)
- add “def instance = this” to make access uniform from Java
- this does not work for nested case objects because of missing static
forwarders, so keep those as they were
- fix issue with case object FromConfig colliding with case class
FromConfig by open-coding the “case”iness in this case (should be
thrown out in 2.1)
2012-04-10 16:59:15 +02:00
Roland
21f2c28fd1
Merge branch 'wip-ask-remote-tests-∂π'
2012-04-10 15:15:22 +02:00
Viktor Klang
eea0d826d0
#1983 - Removing network-event-sender from reference.conf
2012-04-08 01:20:33 +02:00
Viktor Klang
a658486d9b
#1931 - correcting logging config examples
2012-04-08 01:10:19 +02:00
Viktor Klang
2bb9e79b98
#1982 - Opening up the send and notifyListeners methods on RemoteTransport so 3rd parties can extend it properly
2012-04-08 00:25:53 +02:00
Roland
6f6979412c
fix over-eager polling in zeromq
...
depending on socket type it now does
- no polling (write-only sockets)
- zmq_recv-based polling (unrestricted sockets)
- zmq_poll-based polling (REQ/REP sockets)
2012-04-06 10:43:36 +02:00
Viktor Klang
2ee712a8b1
Do not tinker with the 0mq socket for the ConnectionSocketActor on Restart
2012-04-04 11:08:28 +02:00
viktorklang
8163555378
Merge pull request #389 from akka/wip-1954-update-FJP-√
...
Manual patch of Doug Leas fix to ForkJoinPool
2012-04-03 08:00:40 -07:00
viktorklang
6ecdb92027
Merge pull request #390 from akka/wip-harden-suspend-resume-√
...
Hardening the suspend/resume methods so that actorcells with dlqs aren't...
2012-04-03 07:58:41 -07:00
Roland
ca9d6b369d
fix CallingThreadMailbox.numberOfMessages
2012-04-03 16:28:36 +02:00
Roland
e9a6c16bdc
fix CallingThreadMailbox.hasMessages, see #1918
2012-04-03 16:28:36 +02:00
Roland
bcbe878ec6
reject invalid ActorSystem names, see #1898
...
only allows domain-name-component compatible names (for simplicity)
2012-04-03 16:28:36 +02:00
Roland
ae021a2f55
fix stopping of actors in RouterConfig spec, see #1974
2012-04-03 16:08:36 +02:00
Viktor Klang
faaeed45d0
#1958 - adding docs for lifecycle hook-parameters
2012-04-03 15:18:07 +02:00
Roland
d8b0fcf629
clarify typographic error in general/remoting.rst
2012-04-03 12:48:03 +02:00
Viktor Klang
3badf25bc0
Hardening the suspend/resume methods so that actorcells with dlqs aren't throwing up
2012-04-03 00:37:09 +02:00
Viktor Klang
96e5682732
#1957 - Adding warning section regarding jarjar and akka configuration
2012-04-03 00:12:12 +02:00
Viktor Klang
b27bae2f10
#1964 - Fixing doc example mistake in 0mq docs, no review
2012-04-02 23:57:44 +02:00
Roland
e7723cb28e
incorporate Viktor’s review (part 1)
2012-04-02 18:09:10 +02:00
Roland
c434456d33
bump version of scala-bindings to 0.0.5
...
- also remove one debug printout
2012-04-02 18:09:10 +02:00
Roland
c555e2c97a
remove debug-Thread.sleep
2012-04-02 18:09:10 +02:00
Roland
57b1a8fc08
rewrite ZeroMQ poll loop
...
- do not use futures, do not use different executors
- only use Poll token; schedule OR poller.poll in case of no message
available, depending on the sign of the poll timeout
- restructure receive method to avoid PartialFunction.orElse overhead
2012-04-02 18:09:09 +02:00
Viktor Klang
3468a694f8
Manual patch of Doug Leas fix to ForkJoinPool
2012-04-02 18:06:55 +02:00
viktorklang
6e642b57b3
Merge pull request #374 from akka/wip-1893-serializable-remote-lifecycle-events-√
...
Making RLCE Serializable and making RemoteTransport in events @transient
2012-04-02 05:38:43 -07:00
viktorklang
ea598358c9
Merge pull request #373 from akka/wip-1901-slow-dissociate-√
...
Switching to TreeSet, which should also receive quite some performance e...
2012-04-02 05:20:59 -07:00
Roland Kuhn
6a30e435f6
Merge pull request #379 from spray/master
...
Make provider registration of PromiseActorRefs lazy + smaller fixes
2012-04-02 05:20:19 -07:00
Roland Kuhn
95dca75e8a
Merge pull request #382 from veebs/master
...
Added more description to dispatchers
2012-04-02 04:48:18 -07:00
Vibul Imtarnasan
1b0e0c58e1
Update akka-docs/scala/dispatchers.rst
2012-03-29 16:42:05 +12:00
Vibul Imtarnasan
a812f1081f
Added more dispatcher descriptions
2012-03-29 16:41:24 +12:00
Vibul Imtarnasan
2977efef45
Update as per Roland Kuhn's suggestions
2012-03-29 16:35:30 +12:00
Vibul Imtarnasan
76f0754480
Added _TestCallingThreadDispatcherRef
2012-03-29 16:30:36 +12:00
Vibul Imtarnasan
ae7835bf58
Update akka-docs/scala/dispatchers.rst
2012-03-29 16:24:03 +12:00
Roland
70a2d3d89c
add remote ask “stress” test
2012-03-28 13:03:54 +02:00
Piotr Gabryanczyk
3ef108654c
Merge pull request #381 from akka/wip-camel-impicit-ctx
...
Added CamelContext implicit to ProducerSupport
2012-03-28 00:19:43 -07:00
Vibul Imtarnasan
6f36cc950b
Added more dispatcher info.
2012-03-28 17:54:40 +12:00
Piotr Gabryanczyk
7d42fc4764
Added CamelContext implicit to ProducerSupport
2012-03-27 23:01:42 +01:00
Mathias
d618aeb7ea
Decrease memory footprint of PromiseActorRef by ca. 30% (two ref fields)
2012-03-27 09:28:54 +02:00
Raymond Roestenburg
6cc30d8f37
Merge pull request #377 from akka/ticket-1633-docs
...
Ticket #1633 , moved some classes to public API that made sense from the ...
2012-03-26 13:30:26 -07:00
RayRoestenburg
3ce3f270df
made the timeout longer (from 30ms to 200 ms) on in-only test of ActorProducerTest so it also works on a slow box
2012-03-26 22:27:05 +02:00
RayRoestenburg
2127eb8926
Ticket #1633 updated docs
2012-03-26 22:27:05 +02:00
Roland
84e475c1e0
fix TestKit class scaladoc
2012-03-26 12:12:29 +02:00
Mathias
791ec0f611
Another round of improvements to PromiseActorRef
2012-03-24 23:27:01 +01:00
Mathias
8fc66ce044
Improve PromiseActorRef as per team comments
2012-03-23 21:35:52 +01:00
Roland Kuhn
0b9d2e8260
Merge pull request #365 from jfim/patch-1
...
Added imports for things moved to akka.pattern._
2012-03-23 11:17:18 -07:00
Mathias
cb7271f974
Make provider registration of PromiseActorRefs lazy
...
By only registering a PromiseActorRef on access to `path`
we can shave off about 30% of the overhead involved in the common,
purely local `ask` use case.
Unfortunately `path` is accessed not only for ActorRef serialization
but also during `toString`, `equals` and `hashCode`, so one should
be careful how to handle PromiseActorRefs in hot paths.
2012-03-23 16:50:39 +01:00
Mathias
e909757fc5
Fix PromiseActorRef bang potentially throwing IllegalStateException
...
The previous implementation contained a race condition potentially violating the "bang never throws exception" contract
2012-03-23 16:50:39 +01:00
Mathias
69aed6a384
Small optimization in FiniteDuration.equals
2012-03-23 16:50:39 +01:00
Jonas Bonér
d18fc7b7ce
Removed obsolete FIXME.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-23 12:08:37 +01:00
Jonas Bonér
7c03f8df6c
Renamed 'Node' to 'Cluster'.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-03-22 23:04:04 +01:00