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

  Modifier and Type
  Method
  Description
  `static IWorkerHeartbeatsRecoveryStrategy`
  `getStrategy(Map<String,Object> conf)`
  Get instance of `IWorkerHeartbeatsRecoveryStrategy` with conf.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### WorkerHeartbeatsRecoveryStrategyFactory

    public WorkerHeartbeatsRecoveryStrategyFactory()

- ## Method Details

  - ### getStrategy

    public static IWorkerHeartbeatsRecoveryStrategy getStrategy(Map<String,Object> conf)
    Get instance of `IWorkerHeartbeatsRecoveryStrategy` with conf.
    Parameters:
      `conf` - strategy config
    Returns:
      an instance of `IWorkerHeartbeatsRecoveryStrategy`