Commit graph

12466 commits

Author SHA1 Message Date
Heiko Seeberger
0cbee22bf1 closes #2013: Typos in the docs, using parens for arity-0 methods which are not referentially transparent 2012-04-24 08:01:32 +02:00
Viktor Klang
80d6618703 Merge branch 'master' of github.com:akka/akka 2012-04-24 00:58:16 +02:00
Viktor Klang
d852e6245a #1930 - use new favicon for akka docs 2012-04-24 00:57:50 +02:00
viktorklang
165c33eb45 Merge pull request #411 from amir343/master
New test for akka-cluster vector clocks
2012-04-23 14:13:52 -07:00
Roland Kuhn
65d9b412bb Merge pull request #408 from akka/wip-1999-log-unhandled-∂π
add option to log UnhandledMessage, see #1999
2012-04-23 12:29:08 -07:00
Amir Moulavi
223f86be8f akka-cluster: vector clocks test - merge two disjoint vector clocks 2012-04-23 20:24:54 +02:00
Amir Moulavi
e90d641a6a Merge https://github.com/akka/akka 2012-04-23 20:23:51 +02:00
Oliver Schulz
ecef10eabc Added CompactByteString
* CompactByteString provides an instance of ByteString that is
  guaranteed to be compact and has performance-optimized element
  acces (since no range-checking is necessary)

* sealed abstract class ByteString, since the implementations of
  ByteString1 and ByteStings assume a fixed set of ByteString
  classes (in pattern matching).
2012-04-23 20:11:16 +02:00
Viktor Klang
670bb396f9 Adding @implicitNotFound annotation on LogSource 2012-04-23 19:07:27 +02:00
Amir Moulavi
a83fb71eef Merge https://github.com/akka/akka 2012-04-23 19:01:04 +02:00
Viktor Klang
5f2b23c0c8 #2005 - Putting the required fields into RemoteTransport and took the opportunity to clean up use of ActorSystemImpl 2012-04-23 18:59:49 +02:00
Viktor Klang
7cc4c03018 #1962 - Clarifying the error logging when dropping inbound messages and lazy-fying the logger 2012-04-23 16:38:22 +02:00
Viktor Klang
8ac7ac8499 Adding docs section on how to proxy ActorRefs with TypedActors 2012-04-23 16:19:58 +02:00
Roland
84c08e8a63 add option to log UnhandledMessage, see #1999
- LoggingBus.startDefaultLoggers will register a forwarder actor for
  UnhandledMessage, which republishes them as Debug message
- add tests and docs
- TestEventListener logs UnhandledMessage as Warning
2012-04-23 15:40:21 +02:00
Viktor Klang
b5960253a2 #1990 - Adding Java and Scala version of the microkernel docs 2012-04-23 14:50:26 +02:00
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