public final class FailoverStrategyFactoryLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FULL_RESTART_STRATEGY_NAME
Config name for the
RestartAllStrategy . |
static String |
PIPELINED_REGION_RESTART_STRATEGY_NAME
Config name for the
RestartPipelinedRegionStrategy . |
Modifier and Type | Method and Description |
---|---|
static FailoverStrategy.Factory |
loadFailoverStrategyFactory(Configuration config)
Loads a
FailoverStrategy.Factory from the given configuration. |
public static final String FULL_RESTART_STRATEGY_NAME
RestartAllStrategy
.public static final String PIPELINED_REGION_RESTART_STRATEGY_NAME
RestartPipelinedRegionStrategy
.public static FailoverStrategy.Factory loadFailoverStrategyFactory(Configuration config)
FailoverStrategy.Factory
from the given configuration.config
- which specifies the failover strategy factory to loadCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.