Added outline on how to implement clustered deployment

This commit is contained in:
Jonas Bonér 2011-04-30 15:44:46 +02:00
parent 517f9a212b
commit 13abf0592f
4 changed files with 19 additions and 7 deletions

View file

@ -561,7 +561,7 @@ class ClusterNode private[akka] (
/**
* Explicitly resign from being a leader. If this node is not a leader then this operation is a no-op.
*/
def resign = if (isLeader.get) leaderLock.unlock
def resign() { if (isLeader.get) leaderLock.unlock }
// =======================================
// Actor