public class WorkerHeartbeatsRecoveryStrategyFactory extends Object
Factory class for recovery strategy.
Constructor and Description |
---|
WorkerHeartbeatsRecoveryStrategyFactory() |
Modifier and Type | Method and Description |
---|---|
static IWorkerHeartbeatsRecoveryStrategy |
getStrategy(Map<String,Object> conf)
Get instance of
IWorkerHeartbeatsRecoveryStrategy with conf. |
public WorkerHeartbeatsRecoveryStrategyFactory()
public static IWorkerHeartbeatsRecoveryStrategy getStrategy(Map<String,Object> conf)
Get instance of IWorkerHeartbeatsRecoveryStrategy
with conf.
conf
- strategy configIWorkerHeartbeatsRecoveryStrategy
Copyright © 2020 The Apache Software Foundation. All rights reserved.