public final class DittoStatusAndHealthProviderFactory extends Object
StatusAndHealthProvider for the ditto-cluster.| Modifier and Type | Method and Description |
|---|---|
static StatusAndHealthProvider |
of(akka.actor.ActorSystem actorSystem,
Supplier<ClusterStatus> clusterStateSupplier,
HealthCheckConfig healthCheckConfig)
Returns a new
StatusAndHealthProvider for the ditto-cluster. |
public static StatusAndHealthProvider of(akka.actor.ActorSystem actorSystem, Supplier<ClusterStatus> clusterStateSupplier, HealthCheckConfig healthCheckConfig)
StatusAndHealthProvider for the ditto-cluster.actorSystem - the ActorSystem to use.clusterStateSupplier - the ClusterStatus supplier
to use in order to find out the reachable cluster nodes.healthCheckConfig - the configuration settings for health checking.StatusAndHealthProvider.NullPointerException - if any argument is null.Copyright © 2017–2019 Eclipse Foundation. All rights reserved.