Commit graph

9750 commits

Author SHA1 Message Date
Viktor Klang
d431ab32cd Merge branch 'master' of github.com:akka/akka 2012-04-23 14:30:59 +02:00
Viktor Klang
8df2314bb3 #1946 - Adding clarification in docs about the HashedWheelTimer semantics 2012-04-23 14:30:28 +02:00
Jonas Bonér
5d575a18d7 Removed 'ping' command. Replaced checking with 'is-available'. Added a bit of info to README for distribution.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-04-23 14:13:05 +02:00
Roland
0c4b2a11ae document blocking nature of system.actorOf, see #2007 2012-04-23 12:26:29 +02:00
Amir Moulavi
10c4f1a9f6 Akka prompt is added to SBT 2012-04-23 12:00:01 +02:00
Viktor Klang
4204b31759 Adding Amir's cool prompt to sbt 2012-04-23 11:57:13 +02:00
Viktor Klang
6286e493a6 Fixing signature of routeResponse to Unit instead of Any 2012-04-23 11:39:52 +02:00
viktorklang
b43f0119fc Merge pull request #385 from akka/wip-1970-camel-producer-converters
Wip 1970 camel producer converters
2012-04-23 02:32:30 -07:00
Piotr Gabryanczyk
ec0f04a741 routeResponse returns Unit 2012-04-23 10:19:31 +01:00
Piotr Gabryanczyk
f247749e8f removed info about typed actors 2012-04-23 10:18:03 +01:00
Viktor Klang
6592311c37 Making sure that null-messages don't mess up SLF4J handler 2012-04-23 11:14:03 +02:00
Roland Kuhn
d63d21bbf3 Merge pull request #401 from oschulz/bs-builder
Fixed ByteStringBuilder.resizeTemp
2012-04-23 02:08:51 -07:00
Viktor Klang
d93143042b Adding TypedActor.context for the lifecycle methods 2012-04-23 10:45:59 +02:00
Amir Moulavi
c0ca516dd4 Akka prompt is added to SBT 2012-04-23 10:28:19 +02:00
Piotr Gabryanczyk
a9fac726e8 Extracting code to scala files 2012-04-22 17:02:06 +01:00
Piotr Gabryanczyk
602c47d6a1 Initial doc import. Adding just an introduction as this is my first commit to docs, so this is just to set the scene. 2012-04-21 14:53:01 +01:00
Piotr Gabryanczyk
d715c470e7 Initial doc import. Adding just an introduction as this is my first commit to docs, so this is just to set the scene. 2012-04-21 14:52:43 +01:00
Piotr Gabryanczyk
b7fc3f6da0 casting to AnyRef instead 2012-04-20 17:07:42 +01:00
Oliver Schulz
1453170c96 Fixed ByteStringBuilder.resizeTemp
resizeTemp didn't update _tempCapacity, causing ByteStringBuilder to
create a new _temp array on each call of +=.
2012-04-20 14:10:10 +02:00
Jonas Bonér
822b9722f2 Improved the 'akka-cluster' CLI tool help message.
Sample run (need to be seen with monospaced font)

$ ./bin/akka-cluster --help
Usage: akka-cluster <node-hostname:jmx-port> <command> ...

Supported commands are:
                      ping - Sends a PING command to the node to see if it is up and available
   join <actor-system-url> - Sends request a JOIN node with the specified URL
  leave <actor-system-url> - Sends a request for node with URL to LEAVE the cluster
 remove <actor-system-url> - Sends a request for node with URL to be instantly REMOVED from the cluster
   down <actor-system-url> - Sends a request for marking node with URL as DOWN
             member-status - Asks the member node for its current status
            cluster-status - Asks the cluster for its current status (member ring, unavailable nodes, meta data etc.)
                    leader - Asks the cluster who the current leader is
              is-singleton - Checks if the cluster is a singleton cluster (single node cluster)
              is-available - Checks if the member node is available
           has-convergence - Checks if there is a cluster convergence
Where the <actor-system-url> should be on the format of 'akka://actor-system-name@hostname:port'

Examples: akka-cluster localhost:9999 ping
          akka-cluster localhost:9999 join akka://MySystem@darkstar:2552
          akka-cluster localhost:9999 cluster-status

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-04-20 00:11:41 +02:00
Viktor Klang
b9ea457161 Removing unused dependencies 2012-04-19 15:09:20 +02:00
viktorklang
984d53a623 Stopping the bleeding of ActorSystem ScalaDoc 2012-04-19 11:13:35 +03:00
viktorklang
6bd4ea1710 Clarifying actor jmm rules 2012-04-18 12:46:58 +03:00
Jonas Bonér
03762bc9bd Added start of a help page for the akka-cluster tool.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-04-16 23:40:14 +02:00
Jonas Bonér
846820447e Changed output of the 'cluster-status' command to be nicely formatted. Added error handling to JMX registration. Added more doc to 'akka-cluster' script.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-04-16 16:58:19 +02:00
Jonas Bonér
a400b90d87 Cleaned up cluster node admin script and improved functionality in JMX API.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-04-16 11:23:03 +02:00
Jonas Bonér
ecc949441a Initial commit of 'akka-cluster' CLI tool working together with the new Cluster JMX API
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-04-14 20:06:03 +02:00
Roland
5851ffb115 update to scala 2.9.2 2012-04-13 18:33:21 +02:00
Roland
e19b258ce0 make error message more clear when logger initialization times out 2012-04-13 09:56:04 +02:00
Jonas Bonér
e500548494 Renamed methods in public Cluster API, plus changed semantics of Cluster.join (was wrong before).
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-04-12 22:50:50 +02:00
Roland
3e47dfa7eb fix ØMQ detection during tests 2012-04-12 15:13:16 +02:00
Jonas Bonér
19cb08cbeb Renamed Node.scala to Cluster.scala 2012-04-12 12:25:39 +02:00
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
Piotr Gabryanczyk
c457360dbe adding return types 2012-04-09 07:59:03 +01:00
Piotr Gabryanczyk
1b254f9f61 adding return types 2012-04-09 07:44:47 +01: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
Piotr Gabryanczyk
44a19aff8e Partial functions replaced with regular functions for message converters 2012-04-06 11:13:59 +01: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