Incorporate review comments and cleanup isAvailable, see #2018
* Renamed isRunning to isTerminated (with negation of course) * Removed Running from JMX API, since the mbean is deregistered anyway * Cleanup isAvailable, isUnavailbe * Misc minor
This commit is contained in:
parent
a7b7ab040d
commit
1df787d0c5
12 changed files with 38 additions and 59 deletions
|
|
@ -763,7 +763,7 @@ private[cluster] final class ClusterCoreDaemon(publisher: ActorRef) extends Acto
|
|||
|
||||
def isSingletonCluster: Boolean = latestGossip.isSingletonCluster
|
||||
|
||||
def isAvailable: Boolean = latestGossip.isAvailable(selfAddress)
|
||||
def isAvailable: Boolean = !latestGossip.isUnreachable(selfAddress)
|
||||
|
||||
/**
|
||||
* Gossips latest gossip to a random member in the set of members passed in as argument.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue