Commit graph

1610 commits

Author SHA1 Message Date
phaller
8a88edc302 Stash docs: add paragraphs about performance and restarts 2012-06-27 19:10:21 +02:00
Gert Vanthienen
a7293ca7f3 Update osgi branch with latest changes from 'akka/master'
Conflicts:
	project/AkkaBuild.scala
2012-06-26 17:16:03 +02:00
RayRoestenburg
a7a96687e4 added akka camel docs 2012-06-26 10:43:31 +02:00
phaller
8b17099f50 Adding Stash section in Actors docs (including docs for the Java API).
Example code added to ActorDocSpec/UntypedActorDocTestBase.
2012-06-26 09:22:25 +02:00
RayRoestenburg
92e3ca2629 added more docs for camel, couldnt resist to also remove a ; from DefaultCamel 2012-06-26 00:47:06 +02:00
Patrik Nordwall
2cd38e2004 Merge branch 'master' into wip-2263-gossip-unreachable-patriknw
Conflicts:
	akka-cluster/src/main/scala/akka/cluster/Cluster.scala
2012-06-25 20:59:50 +02:00
Patrik Nordwall
20fc0c42a2 Merge branch 'master' into wip-2219-seed-nodes-patriknw
Conflicts:
	akka-cluster/src/main/scala/akka/cluster/AccrualFailureDetector.scala
	akka-cluster/src/main/scala/akka/cluster/ClusterSettings.scala
2012-06-25 20:40:06 +02:00
Roland
be74eb835b stashin commit so Iulian can play with it 2012-06-25 19:30:13 +02:00
Patrik Nordwall
cba64403a7 Don't gossip to unreachable, see #2263
* Also, ignore gossip from unreachable, see #2264
* Update gossip protocol in cluster doc
2012-06-25 15:23:15 +02:00
Roland
3c15dcdfb8 Merge branch 'wip-2031-sync-actorOf-3.0-∂π'
Some tests fail ATM, but I prefer not to hide semantic fixes within
merge commits.
2012-06-25 11:12:08 +02:00
Roland
1400ea605b clarify system.actorOf special semantics section, see #2031 2012-06-25 10:49:49 +02:00
Patrik Nordwall
42078e7083 Reintroduce 'seed' nodes, see #2219
* Implement the join to seed nodes process
  When a new node is started started it sends a message to all
  seed nodes and then sends join command to the one that answers
  first.
* Configuration of seed-nodes and auto-join
* New JoinSeedNodeSpec that verifies the auto join to seed nodes
* In tests seed nodes are configured by overriding seedNodes
  function, since addresses are not known before start
* Deputy nodes are the live members of the seed nodes (not sure if
  that will be the final solution, see ticket 2252
* Updated cluster.rst with latest info about deputy and seed nodes
2012-06-21 11:05:02 +02:00
Jonas Bonér
a050fe349d Fixed link to licenses for dependency projects 2012-06-20 14:01:23 +02:00
Oliver Schulz
9c6deaa475 Changed ByteString docs to hoist example code from separate file 2012-06-19 17:16:30 +02:00
Roland
422cf386c8 incorporate review comments, add docs, see #2031
also add Java sample for creating custom MailboxType
2012-06-19 14:52:02 +02:00
Oliver Schulz
8d4986dde3 Added new ByteString features to IO (Scala) documentation 2012-06-17 19:28:08 +02:00
Jonas Bonér
86dc1fe69d Minor edits to cluster specification.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-16 00:03:45 +02:00
Jonas Bonér
f74c96b424 Merged with master 2012-06-14 16:21:03 +02:00
Jonas Bonér
cb0cfac6c7 Merged with master 2012-06-14 16:13:53 +02:00
Gert Vanthienen
2bf2cec282 Service registration is now optional, service references get cleaned up properly 2012-06-13 22:37:41 +02:00
Roland
b60210362e make system.actorOf() non-blocking (and working), see #2031
- introducing RepointableActorRef, which starts out with an
  UnstartedActorCell which can cheaply be created; the Supervise()
  message will trigger child.activate() in the supervisor, which means
  that the actual creation (now with normal ActorCell) happens exactly
  in the right place and with the right semantics. Messages which were
  enqueued to the dummy cell are transferred atomically into the
  ActorCell (using normal .tell()), so message sends keep working
  exactly as they used to
- this enables getting rid of the brittle synchronization around
  RoutedActorRef by replacing that one with a RepointableActorRef
  subclass which creates RoutedActorCells upon activate(), with the nice
  benefit that there is no hurry then to get it right because the new
  cell is constructed “on the side”

misc fixes:

- InvalidMessageException is now actually enforced when trying to send
  “null”
- Mailboxes may be created without having an ActorCell, which can come
  in handy later, because the cell is only needed when this mailbox is
  going to be scheduled on some executor
- remove occurrences of Props(), which is equivalent to Props[Nothing],
  which is equivalent to «bug»
- add test case which verifies that context.actorOf is still synchronous
- plus all the stuff I have forgotten.
2012-06-13 17:57:56 +02:00
Gert Vanthienen
f33c45090d Update docs and use Option[String] in the activator instead of null 2012-06-12 16:57:25 +02:00
Gert Vanthienen
cc79aae1a4 Adding PojoSR tests and a lot of code cleanup 2012-06-12 16:39:53 +02:00
Gert Vanthienen
94d68e8f2d Merge latest changes from akka/master 2012-06-12 16:32:03 +02:00
Dale
13f3cddbfb Minor markup fix. 2012-06-12 16:16:25 +03:00
Viktor Klang
44fefb9b55 #2187 - Making Warning sections in docs yellow so they aren't overlooked 2012-06-11 11:05:19 +02:00
Patrik Nordwall
f6365e83e7 Change to logback 1.0.4, see #2198 2012-06-07 20:40:14 +02:00
Jonas Bonér
72f678281e Fixed wrong formatting in docs 2012-06-07 14:21:45 +02:00
viktorklang
ab7c3eb27b Merge pull request #520 from akka/wip-2183-assorted-fixes-∂π
Wip 2183 assorted fixes ∂π
2012-06-07 04:34:06 -07:00
viktorklang
e8e0ef83bb Merge pull request #518 from akka/wip-2189-remote-deadletters-√
#2189 - Removing RemoteClientWriteFailed and log it as a RemoteClientErr...
2012-06-07 04:25:18 -07:00
Roland
bff03676fe add java testing doc chapter and link to Munish’s blog 2012-06-07 10:50:13 +02:00
viktorklang
60c11cab7b Adding missing slash 2012-06-07 00:46:01 +03:00
Viktor Klang
211435048a #2189 - Removing RemoteClientWriteFailed and log it as a RemoteClientError and send the message to DeadLetters 2012-06-06 13:56:46 +02:00
Roland
d56c0b4b34 update ActorPath.png, see #2147 2012-06-05 13:07:01 +02:00
viktorklang
9581ec8403 Merge pull request #511 from akka/wip-2134-deathwatch2.0-√
Wip 2134 deathwatch2.0 √
2012-06-05 03:33:01 -07:00
Roland
0a011ee50e fix a few doubled the’s 2012-06-04 23:35:52 +02:00
Roland
b98fb0e37a clarify deployment using anonymous factories 2012-06-04 23:10:03 +02:00
Roland Kuhn
9b88cf75bf Merge pull request #509 from akka/wip-2174-testkit-trait-∂π
offer TestKitBase trait, see #2174
2012-06-04 10:29:35 -07:00
Roland
b840624b78 warn against using TestKitBase trait 2012-06-04 19:28:58 +02:00
Viktor Klang
a5127b12dd Merge branch 'master' into wip-2134-deathwatch2.0-√ 2012-06-04 13:58:09 +02:00
Roland
df479a0bf0 add back TestProbe.reply, see #2172 2012-06-04 11:29:56 +02:00
Jonas Bonér
e7cf92e72a Merge pull request #506 from akka/wip-2161-test-leave-the-cluster-gracefully-jboner
Added implementation of the LEAVE command for a cluster node plus misc tests
2012-06-04 01:39:22 -07:00
Roland
de59444795 offer TestKitBase trait, see #2174 2012-06-04 10:03:41 +02:00
Viktor Klang
17ee47079a Incorporating Roland's feedback 2012-06-02 14:49:28 +02:00
Viktor Klang
12b9af25cf #2168 - Exposing more Netty options in remtoe config 2012-06-01 21:29:47 +02:00
Jonas Bonér
0449f85a86 Added implementation of the LEAVE command for a cluster node.
* Added implementation of the LEAVE command for a cluster node
* Changed the meaning of Member.isUnavailable to only DOWN and REMOVED
* Removed EXIT and UP as user commands
* Fixed Cluster.self to fall back to checking for itself in the gossip.overview.unreachable set.
* Added Leader action transitioning from LEAVING -> EXITING
* Improved comments

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-01 16:49:50 +02:00
Brian Scully
6a415f0e9b * Add Circuit Breaker to akka.pattern for general use. Circuit breaker implementation as described by Michael T. Nygard in Release It!. Fixes #1734
* Uses finite state machine for three states: Closed, Open, Half-Open
    * Closed state allows calls through, and on sequential failures exceeding the max# set - transitions to Open state. Intervening successes cause the failure count to reset to 0
    * Open state throws a CircuitOpenException on every call until the reset timeout is reached which causes a transition to Half-Open state
    * Half-Open state will allow the next single call through, if it succeeds - transition to Closed state, if it fails - transition back to Open state, starting the reset timer again
  * Allow configuration for the call and reset timeouts, as well as the maximum number of sequential failures before opening
  * Supports async or synchronous call protection
  * Callbacks are supported for state entry into Closed, Open, Half-Open.  These are run in the supplied execution context
  * Both thrown exceptions and calls exceeding max call time are considered failures
  * Uses akka scheduler for timer events
  * Integrated into File-Based durable mailbox
  * Sample documented for other durable mailboxes
2012-06-01 08:24:47 -04:00
Gert Vanthienen
205b8ee7c1 Initial stab at a Blueprint namespace handler 2012-05-31 22:53:15 +02:00
Viktor Klang
3b06c0a7c2 Merge branch 'master' of github.com:akka/akka 2012-05-31 22:00:32 +02:00
Viktor Klang
fca5b9afbd #2166 - Adding link to Kryo serialization by Roman Levenstein 2012-05-31 21:58:24 +02:00