public final class FailoverStrategyFactoryLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FULL_RESTART_STRATEGY_NAME
Config name for the
RestartAllFailoverStrategy . |
static String |
PIPELINED_REGION_RESTART_STRATEGY_NAME
Config name for the
RestartPipelinedRegionFailoverStrategy . |
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
RestartAllFailoverStrategy
.public static final String PIPELINED_REGION_RESTART_STRATEGY_NAME
RestartPipelinedRegionFailoverStrategy
.public static FailoverStrategy.Factory loadFailoverStrategyFactory(Configuration config)
FailoverStrategy.Factory
from the given configuration.config
- which specifies the failover strategy factory to loadCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.