clu #20309 API for pluggable cluster downing

This commit is contained in:
Johan Andrén 2016-04-11 10:33:02 +02:00
parent 2418e610ab
commit 5671927cf1
9 changed files with 223 additions and 11 deletions

View file

@ -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 =====================
// ========================================================