Added outline on how to implement clustered deployment
This commit is contained in:
parent
517f9a212b
commit
13abf0592f
4 changed files with 19 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue