public class FailoverStrategyLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FULL_RESTART_STRATEGY_NAME
Config name for the
RestartAllStrategy . |
Constructor and Description |
---|
FailoverStrategyLoader() |
Modifier and Type | Method and Description |
---|---|
static FailoverStrategy.Factory |
loadFailoverStrategy(Configuration config,
org.slf4j.Logger logger)
Loads a FailoverStrategy Factory from the given configuration.
|
public static final String FULL_RESTART_STRATEGY_NAME
RestartAllStrategy
.public static FailoverStrategy.Factory loadFailoverStrategy(Configuration config, @Nullable org.slf4j.Logger logger)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.