public class FailoverStrategyLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FULL_RESTART_STRATEGY_NAME
Config name for the
RestartAllStrategy . |
static String |
INDIVIDUAL_RESTART_STRATEGY_NAME
Config name for the
RestartIndividualStrategy . |
static String |
PIPELINED_REGION_RESTART_STRATEGY_NAME
Config name for the
AdaptedRestartPipelinedRegionStrategyNG . |
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 final String INDIVIDUAL_RESTART_STRATEGY_NAME
RestartIndividualStrategy
.public static final String PIPELINED_REGION_RESTART_STRATEGY_NAME
AdaptedRestartPipelinedRegionStrategyNG
.public static FailoverStrategy.Factory loadFailoverStrategy(Configuration config, @Nullable org.slf4j.Logger logger)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.