clu #20309 API for pluggable cluster downing
This commit is contained in:
parent
2418e610ab
commit
5671927cf1
9 changed files with 223 additions and 11 deletions
|
|
@ -102,6 +102,10 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
|
|||
new DefaultFailureDetectorRegistry(() ⇒ createFailureDetector())
|
||||
}
|
||||
|
||||
// needs to be lazy to allow downing provider impls to access Cluster (if not we get deadlock)
|
||||
lazy val downingProvider: DowningProvider =
|
||||
DowningProvider.load(settings.DowningProviderClassName, system)
|
||||
|
||||
// ========================================================
|
||||
// ===================== WORK DAEMONS =====================
|
||||
// ========================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue