Package org.apache.storm.nimbus
Class WorkerHeartbeatsRecoveryStrategyFactory
- java.lang.Object
-
- org.apache.storm.nimbus.WorkerHeartbeatsRecoveryStrategyFactory
-
public class WorkerHeartbeatsRecoveryStrategyFactory extends Object
Factory class for recovery strategy.
-
-
Constructor Summary
Constructors Constructor Description WorkerHeartbeatsRecoveryStrategyFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IWorkerHeartbeatsRecoveryStrategy
getStrategy(Map<String,Object> conf)
Get instance ofIWorkerHeartbeatsRecoveryStrategy
with conf.
-
-
-
Method Detail
-
getStrategy
public static IWorkerHeartbeatsRecoveryStrategy getStrategy(Map<String,Object> conf)
Get instance ofIWorkerHeartbeatsRecoveryStrategy
with conf.- Parameters:
conf
- strategy config- Returns:
- an instance of
IWorkerHeartbeatsRecoveryStrategy
-
-