public class ClusterAdvisorFactory extends Object
ClusterAdvisor
s based on
the requested ClusterType
s.
Created by Sam Behnam on 10/19/18.Modifier and Type | Method and Description |
---|---|
static ClusterAdvisor |
createForStrategy(ClusterType strategy,
String localEndpoint)
Create an instance of
ClusterAdvisor based on the provided
ClusterType . |
public static ClusterAdvisor createForStrategy(ClusterType strategy, String localEndpoint)
ClusterAdvisor
based on the provided
ClusterType
.strategy
- a ClusterType
representing desired
algorithm to be used for determining failure and healing status of Corfu
servers.ClusterAdvisor
specific to the
provided strategy.Copyright © 2019 CorfuDB. All rights reserved.